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