Jump to ID:

Project Home




Project Info
Forum Topic - io-media mmf buffers: Page 1 of 2 (2 Items)
io-media mmf buffers  
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.