0
0

hello
what is the code for playing mp3?
thanks

  • You must to post comments
0
0

Thanks it work,
now i’m trying the function
FSOUND_Stream_SetSynchCallback(music,endcallback,0);

music is the mp3 file with marks.
endcallback is the function to run at every callbacks?
the setsynch function is just used one time?
I mean it don’t return anything

  • You must to post comments
0
0

I have dropped the markers with soundforge5 to my mp3(I saved directly in mp3,with soundforge)
i use this code to synch music with graphics:
music is the mp3;

signed char synchcallback(FSOUND_STREAM *stream, void *buff, int len, int param)
{
here is the graphic function;
return TRUE;
}

and i write in my main code :

FSOUND_Stream_SetSynchCallback(music,synchcallback,0);

is this code right?

  • You must to post comments
0
0

Ya!, its working like a dream
thanks again your lib is awesome

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.