Ryan Allen(deleted)
09/01/2009 9:48 AM
post37021
|
I have a project asking about lowering the queue1-size and queue2-size options in io-media's config file to save memory.
Specifically, they're interested in how much memory one buffer element uses so that they could pick a number and
calculate a theoretical maximum amount of memory that the audio buffer will use. The docs are pretty clear in saying
that the size of a buffer element will differ based on the media.
That said, is there any general rule that io-media components use to pick the size of a buffer? ie, does it try to make
one buffer element equal to 100 ms of playback, or to one frame, or something like this? I just wonder if I can give a
better answer than "it varies", even if it's an undocumented/no-promises explanation.
Thanks,
Ryan.
|
|
|