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

From: Pieter Palmers <pieterp@email-addr-hidden>
Date: Fri May 11 2007 - 12:50:17 EEST

Florian Schmidt wrote:
> On Wednesday 09 May 2007, Dave Robillard wrote:
>
>> If you want to discuss fixed block sizes, etc, discuss the existing work
>> done in that area by tapas (who has longed for that feature for ages
>> now, and I assume from the lack of objections from him that things are
>> fine on that front). There is already a solution to this, if you have a
>> problem with the solution, let it be known.
>
> Yep, no objections :) As these extensions (fixed-buffersize and
> power-of-two-buffersize) are rather easy to implement, especially for jack
> apps where the API guarantees a fixed power of two buffersize in between
> buffer-size callbacks [aha - this should be an extension, too ;)], i hope all
> LV2 hosts which are useful [for me] at all will support it :) So i considered
> this problem solved.
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.

Pieter

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Fri May 11 16:15:02 2007

This archive was generated by hypermail 2.1.8 : Fri May 11 2007 - 16:15:02 EEST