[linux-audio-dev] [ANN] VLevel 0.5
Fons Adriaensen
fons.adriaensen at skynet.be
Sun Jul 6 19:48:28 UTC 2003
On Sun, Jul 06, 2003 at 05:12:08PM -0500, Tom Felker wrote:
> VLevel is written in C++. I have two questions. First, why do most
> other plugins allocate and free copies of their strings and structures,
> instead of just passing the literal (as I do)? The declarations in
> ladspa.h don't allow the host to modify what the pointers reference.
Good question. There is AFAIK no good reason for doing this. I've even
seen plugins where things such as int foo [4], part of a larger struct,
are dynamically allocated....
> Second, I keep a buffer of length n in my code, so the first n seconds
> of data I return is useless, and after the audio is sent, I need n more
> seconds of input before all the audio is returned. Is there any way of
> informing the host about this?
Not that I know of.
FA
More information about the Linux-audio-dev
mailing list