Re: [linux-audio-dev] Laaga multiple sample rates (Re: LAAGA: updates, laaga-0.2.0 tarball available)

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

Subject: Re: [linux-audio-dev] Laaga multiple sample rates (Re: LAAGA: updates, laaga-0.2.0 tarball available)
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Wed Jul 11 2001 - 20:12:18 EEST


On Wed, Jul 11, 2001 at 07:07:52PM +0300, Jarno Seppanen wrote:
> Steve Harris <S.W.Harris_AT_ecs.soton.ac.uk> 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


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

This archive was generated by hypermail 2b28 : Wed Jul 11 2001 - 19:27:59 EEST