Sure. Here it goes:
Before using FSOUND_Init I set these 3 parameters:
FSOUND_SetDriver(0); // OnBoard sound card
When I want to play a music I do the folowing:
FSOUND_Init(44100, 16, FSOUND_INIT_GLOBALFOCUS);
stream = FSOUND_Stream_Open(path, FSOUND_NORMAL, 0, 0);
I have already tried to use FSOUND_NORMAL | FSOUND_NONBLOCKING instead of FSOUND_NORMAL, but it didn´t work.
I am triyng to do this because I need to use the FSOUND_GetSpectrum and when I open the stream using FSOUND_HW2D it doesn´t work. Thanks!!!
- rjcirig answered 14 years ago
- You must login to post comments
Please login first to submit.