[Jack-Devel] Why frame sizes are limited to the powers of 2?

Yuri yuri at rawbw.com
Wed Jul 26 08:58:25 CEST 2017


jack_set_buffer_size limits frame size to the powers of 2.

The Opus codec (http://opus-codec.org/) doesn't like such frame sizes. 
It defines frame sizes in milliseconds, and allows 5 ms, 10 ms, 20 ms, 
25 ms, ... which in case of 48,000 sample rate are never a power of two.

It seems like Jack shouldn't be so strict in limiting frame rates to the 
powers of 2.


How to solve this problem?


Yuri




More information about the Jackaudio mailing list