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: David Benson (daveb_AT_idealab.com)
Date: Fri Nov 17 2000 - 18:18:00 EET


> > Summary: I'm worried very much about adding/recommending plugin complexity
> > that could be done (with say >99% efficiency) by the host.
>
> 99% would be ok, but I fear that this drops to 70% (certain cases of
> run_adding) which is quite a performance hit.
>
> And what's the deal of transforming a
> out = .....
> in
> out += ....
>
> in order to support run_adding() ?
>
> And if you are lazy, could even use a macro in order to avoid code duplication.

uh, writing code in macros sucks. i really think for nontrivial plugins
it's a negligible performance boon for a lot of code bloat/ugliness.
(consider that most plugins already do a lot more computation than this...)

btw, there's a setRunAddingGain() for trivial gain control,
but ultimately, for real flexibility
eg smoothing gain controls, separating the mixing from the plugin is the
way to go.

- dave


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 - 18:57:06 EET