[LV2] Usual way for UI to access sample rate

Hermann Meyer brummer- at web.de
Fri Jul 28 01:15:40 PDT 2017

Am 28.07.2017 um 09:53 schrieb Filipe Coelho:
> On 27.07.2017 18:46, Johannes Mueller wrote:
>> Hi,
>> what is the usual way for the UI to access the sample rate? I 
>> searched through
>> the specs for a while and the ways I've found are either by instance 
>> access or
>> by data access, which I both would like to avoid.
> Supposedly, the host will inform about the sample rate via options 
> feature, with sampleRate key.
> But I'm not sure which (or even **if**) hosts are actually doing this 
> right now...
> _______________________________________________

Usually all hosts I know do it right.
Samplerate is given in init.
You could set the value then on a outputport and read it in the UI.

More information about the Devel mailing list