0
0

Hi to all,
I wrote a custom dsp to store the raw data in a buffer size.
I need 1152 samples at time (as wanted by mpeg layer II) so with setDSPBufferSize I set
[code:xvw4h2zv]
/* Set the system buffer size */
result = fmodSystem->setDSPBufferSize(1152, 4); //for mp2
HandleError(result, FILE, LINE);[/code:xvw4h2zv]

in the callback I also wrote
[code:xvw4h2zv]printf("%d\n", length);[/code:xvw4h2zv]
and at shell I get:

1152
1152
1152
384
1152
1152
1152
384
1152
1152
1152
384
1152
1152
1152

Why is not constant?
I need it constant, where is the mistake?
Regards,
Franco

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.