Subject: Re: [linux-audio-dev] LADSPA Specs ?
From: Likai Liu (news_AT_likai.net)
Date: Sun May 12 2002 - 01:46:14 EEST
Paul Davis wrote:
>I'm afraid it would. You need to think about this some more. In any
>given unit of time, a certain number of samples are transformed into a
>varying air pressure wave. What matters is the relation between those
>samples and the original source material. The number of them remains
>the same per unit of time whether the signal is altered or not.
>
It is simple: I have m number of samples, and I want n number of samples
back. I assume the sampling rate is constant throughout the stream (I
want the frequency be constant and not arbitrary for a number of
reasons). What you're talking about is to fudge the sample rate, so the
sample takes longer or shorter time to playback. I am sorry, this is not
what I'm interested talking about.
>This is why LADSPA has flags to indicate that a plugin is not suitable for
>real-time (i.e. streaming) use.
>
Since LADSPA doesn't allow the plugins to output different number of
samples than the input, then it is even far-fetched to talk about
real-time issues. Apparently the real-time requirements are clearly
defined in the ladspa.h header file, and the buffer input/output length
issue is not even remotely relevant to be listed there because LADSPA
doesn't support it.
liulk
This archive was generated by hypermail 2b28 : Sun May 12 2002 - 01:38:29 EEST