power-of-two buffer size. (was: Re: [LAD] [ANN] LV2 beta3)

Jens M Andreasen jens.andreasen at comhem.se
Sat May 12 07:39:44 UTC 2007


On Fri, 2007-05-11 at 11:50 +0200, Pieter Palmers wrote:
> I don't think the power-of-two buffersize is guaranteed by the jack API. 
> It is true that the ALSA backend wants the buffers to be a power of two. 
>   But AFAIK it is not an API guarantee.
> 
> If I'm wrong, I'll have to fix the freebob backend because it doesn't 
> enforce this.

A power of two is fine for PCI boards, but is it also optimal for say
USB audio? 

IIRC, USB happens once every millisecond so I for one would have thought
that numbers like 48, 96 or 44 and 45 would pop up naturally  




More information about the Linux-audio-dev mailing list