fmod et Pause du MP3

S

Shewy du 80 !!

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;
}

--
 
P

Pete C.

Shewy said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top