Re: [linux-audio-dev] stereo / multichannel plugins in LADSPA ?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] stereo / multichannel plugins in LADSPA ?
From: Benno Senoner (sbenno_AT_gardena.net)
Date: Thu Mar 23 2000 - 19:41:25 EET


On Thu, 23 Mar 2000, Jaroslav Kysela wrote:
>
> In some cases, it is not good to interleave the data. I suggest to use
> vectors (struct iovec) like writev/readv for i/o operations. Interleaved
> data may be stored in one vector and non-interleaved in vectors equal to
> number of used channels. I actually rewritting the ALSA plugins in this
> fashion.
>
> Jaroslav
>

I agree for ALSA stuff, since there are multichannel cards have
buffers organized in a iovec-fashion.
But for general plugin-processing, why should iovec bring any advantage over
the interleaved case ? any example ?

The problem of iovec is that as soon we alter the frame size (num of samples
processed per run), then we are in trouble, since we have to change the
iovec.len field of each plugin.

PS: to the mantainers of linux-audio-dev: has the policy of the list changed so
that the poster of a message doesn't get back a copy ?
(at least this happened to me with my last few messages)

 Benno.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Mar 23 2000 - 20:42:19 EET