Re: [linux-audio-dev] LADSPA run() blocksize

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

Subject: Re: [linux-audio-dev] LADSPA run() blocksize
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Nov 17 2000 - 13:21:00 EET


On Thu, Nov 16, 2000 at 11:49:39PM -0500, Paul Barton-Davis wrote:
> does anyone have a solution as to how a LADSPA plugin can avoid
> allocating any internal buffers in run(), when it needs to know the
> maximum value of the argument to run() and/or run_adding() ?

I was thinking about this on my way to work, but I couldn't think of a
situation when you needed to know.

You can always just chop input[] into <= buffer[] sized chunks to do your
processing. Might be a bit slower, but *shrug*.

Hope this makes sense, I haven't had my first coffee yet.

- Steve


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

This archive was generated by hypermail 2b28 : Fri Nov 17 2000 - 14:14:03 EET