Re: [linux-audio-dev] [ANN] VLevel 0.5

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

Subject: Re: [linux-audio-dev] [ANN] VLevel 0.5
From: Fons Adriaensen (fons.adriaensen_AT_skynet.be)
Date: Mon Jul 07 2003 - 02:33:02 EEST


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


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

This archive was generated by hypermail 2b28 : Mon Jul 07 2003 - 02:39:46 EEST