On Monday 09 December 2002 13.14, Steve Harris wrote:
On Sun, Dec 08, 2002 at 02:20:11PM -0800, Tim Hockin
wrote:
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.
This sounds pretty complex. I'm not sure the hosts will be able to
reliably implement this correctly.
It doesn't have to, unless it actually cares. If you save a preset
with a "bad" value in some field, the plugin will just fix it when
you load the preset.
There's just one problem: In what order do you write the controls
back to ensure you end up with the exact same result?
Anyway, if the host *does* keep track of "last value written",
supporting the "I'll make that X instead!" event is just a matter of
writing X into that "last value written" variable.
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`--------------------------->
http://olofson.net/audiality -'
.- M A I A -------------------------------------------------.
| The Multimedia Application Integration Architecture |
`---------------------------->
http://www.linuxdj.com/maia -'
---
http://olofson.net ---
http://www.reologica.se ---