It seems that FMOD doubles the buffersize that I set.
When initializing FMOD as follows with a buffersize of 50 ms (which is the default according to the docs) and samplerate of 16000 Hz:
FSOUND_SetBufferSize ( 50 );
FSOUND_Init ( 16000, 32, 0 );
The buffersize seems to be set to 96 ms instead instead of the the expected value near 50:
FSOUND_DSP_GetBufferLengthTotal () == 1536 samples or 96 ms
Could someone please explain this behaviour?
- Tom Moers asked 11 years ago
But does this mean that the latency will be 100 ms? Or is it 50 ms?
And I don’t understand why FMOD needs to double the buffersize. A buffer of 50 ms already holds 3 DSP unit mixing blocks. Aren’t those blocks used like a double buffer, i.e. play a block while filling the other two?
- Tom Moers answered 11 years ago
Please login first to submit.