0
0

Hello again!
I get a strange problem using FSOUND_Stream_SetBufferSize.
I’ve modified the “stream” example: after lines
[code:tn5w8kvt]
// ==========================================================================================
// OPEN STREAM (use #if 1 for streaming from memory)
// ==========================================================================================
[/code:tn5w8kvt]
I’ve added the following code:
[code:tn5w8kvt]
FSOUND_Stream_SetBufferSize(50);
[/code:tn5w8kvt]

If I run “stream.exe” with ../../media/jbtennis.wav as the parameter a get this error:

[code:tn5w8kvt]
Error!
An invalid parameter was passed to this function
[/code:tn5w8kvt]

This doesn’t happen with every wave file: for example everything works fine with “jungle.wav”.
I suspect it’s something about wave format (PCM, ADPCM..).. any idea?

Thanks,
-claudi0

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.