[linux-audio-dev] PTAF link and comments

Steve Harris S.W.Harris at ecs.soton.ac.uk
Thu Feb 6 05:29:01 UTC 2003


On Wed, Feb 05, 2003 at 08:21:06 +0100, David Olofson wrote:
> > It seems more obvious to me, though, that controls DO need to do
> > bounds checking for their inputs, or the host needs to do
> > snoop-and-fixup for every control.
> 
> Yeah, that's basically where I'm getting. I don't really like it, 
> considering what it does to plugin code, but it's not *that* bad, and 
> it makes life a lot easier. The cost of having hosts do it would be 
> *much* higher, and you'd basically have to do it all the time, I 
> think.

It sounds like the wrong thing, the general case is that the host
generates values its knows to be in range, then the plugin checks it again
to check its in range...

If we allow hard ranges (not really neccesary, as LADSPA shows) then the
host should enforce them.

- Steve 



More information about the Linux-audio-dev mailing list