[linux-audio-dev] Re: LADSPA: getting sample rate

From: Tom Szilagyi <tszilagyi@email-addr-hidden>
Date: Mon Jul 11 2005 - 12:47:48 EEST

On Mon, 11 Jul 2005 12:31:04 +0300, Artemio <artemio@email-addr-hidden> wrote:

> I am wondering, in my runMyPlugin() function, how do I get the sample
> rate value?

Hi,

the host communicates the actual samplerate as an argument to the
instantiate() function of your plugin. Practically, you store this
value in the instance data structure and refer to it whenever you
need to (in run() or anywhere else).

Tom
Received on Mon Jul 11 16:15:07 2005

This archive was generated by hypermail 2.1.8 : Mon Jul 11 2005 - 16:15:07 EEST