fmod et Pause du MP3
From: Shewy du 80 !! (not)
Date: 06/14/04
- Next message: Daniel T.: "Re: how to use for_each to collect some info from a vector into another vector"
- Previous message: tom_usenet: "Re: GUI for C++"
- Next in thread: Pete C.: "Re: fmod et Pause du MP3"
- Reply: Pete C.: "Re: fmod et Pause du MP3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Jun 2004 14:51:16 +0200
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;
}
--
- Next message: Daniel T.: "Re: how to use for_each to collect some info from a vector into another vector"
- Previous message: tom_usenet: "Re: GUI for C++"
- Next in thread: Pete C.: "Re: fmod et Pause du MP3"
- Reply: Pete C.: "Re: fmod et Pause du MP3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|