fmod et Pause du MP3

Discussion in 'C++' started by Shewy du 80 !!, Jun 14, 2004.

  1. Bonjour à tous !

    Je suis à la recherche d'un moyen de mettre en pause un mp3.

    Comment faire ??

    Voici mes sources :

    // **************************************
    // FONCTION : LECTURE
    // **************************************
    int mp3_lecture(void)
    {
    FSOUND_Init(44100, 32, 0);

    song = FSOUND_Sample_Load(FSOUND_FREE, "test.mp3", FSOUND_NORMAL, 0, 0);
    printf("Chanel : %d",song);

    FSOUND_PlaySound(FSOUND_FREE, song);
    }



    // **************************************
    // FONCTION : Pause ->> MARCHE PAS !!
    // **************************************
    // fonction qui met en pause la lecture
    int mp3_pause()
    {
    printf("\n Chanel à mettre en pause : %d \n",song);

    FSOUND_SetPaused(song);
    FSOUND_GetPaused(song);

    // FSOUND_SetPaused(song, lPaused);

    printf("\n ETAT: %d \n",song);


    //return;
    }

    --
     
    Shewy du 80 !!, Jun 14, 2004
    #1
    1. Advertising

  2. Shewy du 80 !!

    Pete C. Guest

    Shewy du 80 !! wrote:
    > Bonjour à tous !
    >
    > Je suis à la recherche d'un moyen de mettre en pause un mp3.
    >

    <snip>

    FMOD is not topical for this group (only standard C++ is), please try an
    FMOD group, forum, or mailing list.
    Also please note that this is a primarily English group, should you have a
    question about standard C++, you would be answered much faster if you posted
    in English.

    - Pete
     
    Pete C., Jun 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel Dyer
    Replies:
    6
    Views:
    20,268
    Knute Johnson
    Jan 22, 2006
  2. Asle Frantzen

    Mp3-player - how to play an mp3?

    Asle Frantzen, Jul 8, 2003, in forum: C++
    Replies:
    5
    Views:
    699
    Kelsey Bjarnason
    Jul 22, 2003
  3. seia0106

    atan2() and fmod()

    seia0106, Jul 28, 2004, in forum: C++
    Replies:
    8
    Views:
    753
    John Harrison
    Jul 29, 2004
  4. stau

    fmod?

    stau, Dec 28, 2003, in forum: C Programming
    Replies:
    6
    Views:
    654
  5. HY Tech
    Replies:
    0
    Views:
    650
    HY Tech
    Sep 7, 2003
Loading...

Share This Page