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)?
Because thats what the example one does. As it stands theres no good
reason to, but it makes internationalisation easier.
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?
No, we have discussed it though. Something like a well-knows control out
port with specified semantics would do it.
In the future I plan to make some performance
improvements, and perhaps
a nice cross-platform GUI for applying VLevel to files. I may also try
to get XMMS-LADSPA to save its state, which would be very useful to me.
Try contacting the author, he has been thinking about this, but I dont
think hes started work on it.
- Steve