Re: [linux-audio-dev] Plugin APIs (again)

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

Subject: Re: [linux-audio-dev] Plugin APIs (again)
From: Tim Hockin (thockin_AT_hockin.org)
Date: Mon Dec 09 2002 - 00:20:11 EET


> I'm afraid I'm not familar with the AudioUnits API, but I dont/think/ this
> situation requires the instrument to inform the host, it should just be
> able to damp (slew rate limit) the control, shouldn't it? The result from
> playing back automation data will be the same, so no harm done.

Well, if the host is auto-generating a UI, or it is, in-fact tracking the
values itself (no get() method) then it needs to know.

> > Also to think about - what if the host sends a bad value, and a control
> > wants to reject it? Ahh, asyncronicity. I guess for this case the plugin
> > sends back some FAIL event or simpler sends back a CTRL_CHANGE with the old
> > value (or the min/max if the host has gone too far).
>
> Bad value? LADSPA has the concept that there are no bad values, the plugin
> has to accept anything. It can choose to ignore it, but it mustn't
> segfault or whatever.

I was more thinking that some controls would disable certain functions, or
limit other controls. Assuming that there is no get() method for a control,
and the host knows the value by remembering, then the plugin does need to
alert the host if it 'ignores' something, or the host will have the wrong
value.

> England, UK. GMT+1. I'm not a mornings person though ;)

Ahh. Sunny England. For the record, I am in the San Francisco area.

Tim


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

This archive was generated by hypermail 2b28 : Mon Dec 09 2002 - 00:24:26 EET