On Wed, Jul 11, 2001 at 07:07:52PM +0300, Jarno Seppanen wrote:
> Steve Harris <[EMAIL PROTECTED]> writes:
> 
> > No. LADSPA control signals are per fragment not per n samples.
> 
> You're right.  But don't you see that this means that the audio sample rate is
> different from the control sample rate?  For every process cycle, there will
> be one new control sample and N new audio samples (N is the fragment length),
> implying that the audio rate is N times the control rate.

Well, no, because the fragment length can vary with each call to
process(). I don't see the relevance anyway.
 
> Yesterday I was trying to make a LADSPA host for LAAGA, and the very lack of
> per-port sample rates made me have to implement some (inferior) sort of a
> downsampler and an upsampler right in the host, which will produce surprising
> results.

Why? You can tell the plugin what the sample rate is at construction time,
can't you just pass in the system sample rate?

- Steve 

Reply via email to