RE: [linux-audio-dev] LADSPA and plugin sample rate

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

Subject: RE: [linux-audio-dev] LADSPA and plugin sample rate
From: Richard W.E. Furse (richard_AT_muse.demon.co.uk)
Date: Sun Dec 10 2000 - 16:33:54 EET


Maybe I'm being stupid, but frankly I don't understand what this discussion is about. Can someone clarify?

--Richard

-----Original Message-----
From: Paul Barton-Davis [SMTP:pbd_AT_Op.Net]
Sent: Sunday, December 10, 2000 1:05 PM
To: Linux-audio-dev
Subject: Re: [linux-audio-dev] LADSPA and plugin sample rate

>My motivation from an API design POV would be that the sample rate is
>just another of these "parameters" - fixed after instantiation or not
>- that should have some real interface of their own, rather than
>being sneaked in here and there.

all true. the problem is that LADSPA ports are input *or* output, and
you can't both set and get the sample rate from a single port.

but you know what occured to me last night ? this is still a
crock. the plugin can do its own multiplication by SR. thats the part
i think we should add/change to the API definition. it does it right
after instantiate, when its given the SR. plugins just have to know
that their port hints cannot be const. then we can remove this from
the host/gui side of things.

comments ?

--p


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

This archive was generated by hypermail 2b28 : Sun Dec 10 2000 - 17:21:58 EET