Re: [LAD] Plugin buffer size restrictions

From: David Robillard <d@email-addr-hidden>
Date: Sat May 26 2012 - 23:27:10 EEST

On Sat, 2012-05-26 at 20:42 +0200, Adrian Knoth wrote:
> On Sat, May 26, 2012 at 02:23:52PM -0400, David Robillard wrote:
>
> [Something about buffer sizes]
>
> I didn't follow the discussion, but maybe you want to address something
> related, too: make the buffers 32-byte aligned, so that plugins can use
> AVX.
>
> I don't know who's responsible for providing the buffers (the plugin or
> the host) in LV2, so my comment may not apply at all.

Ah, right, that's another thing. The hosts do. In reality most
probably are already aligned, but the weird cycle size thing some do
circumvents that, of course.

As it happens, none of this buffer size stuff is actually guaranteed by
Jack, which would need to happen to make implementing buffer size
guarantees actually possible. IIRC in Jack1 it is always true, but not
always for Jack2. If so, there needs to be Jack API for the host to
know what it can actually guarantee.

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun May 27 00:15:09 2012

This archive was generated by hypermail 2.1.8 : Sun May 27 2012 - 00:15:09 EEST