0
0

So I call FSOUND_Stream_Create, and I have audio data sampled at 22050 and mono 16 bits. (I initialize it well)

In the Stream Callback i fill the buffer with X samples. If I fill it with 10000 samples (each time the callback is called), the sound is not reprocduced well, I can hear it like getting stoped (not fluency) (dont know how to descrive it, im spanish).

But If I fill it with 1500 or 2000 samples, it is almost well reproduced.

How do I know how much samples should I pass to the callback? How much frequently is the callback called?

thanks in advance

  • You must to post comments
0
0

I already know that I specify it in the create function, but the goal is to know witch is the correct value to initialize the buffer.

I think that its diferent from initilizing it with 1000 bytes or 10000 bytes, isn’t it? for the same song?
As I said, i’ve tryed to initialize it with diferent values, and the results aren’t the same.

thanks

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.