[gmpi] Re: 3.11 topic: Dynamic plugin structure

On Wednesday 28 April 2004 22.28, Chris Grigg wrote:
> Couldn't there be some sort of gmpiHost::invalidateParameter(
> plugID, paramID ) callback?  The rule could be the host assumes all
> params are still valid after a plug reconfig, and it's the plug's
> responsibility to inform the host about all params for which that's
> false.  Then it's all up to the host to decide whether to orphan or
> just delete recorded automation tracks targeting any 'disappeared'
> params -- for Premiere, sounds like you want to just delete it.

That sounds rather scary from a user POV... The host should at the 
very least warn the user about this, and provide a decent undo 
feature. (The cancel button could be wired to "undo last property 
change", to make it look like the host is actually asking whether to 
perform the property change or not.)


> As far as making a plug reconfig look like a plug replacement, if
> the plug is asking the host for permission to do a reconfig, then
> don't you have the opportunity to trap that and pop up a modal
> dialog saying:
>
>       Really reconfigure plug-in?
>       All automation data will be deleted.
>       There is no undo.
>       Get thee to a nunnery.
>
>                 [ Cancel ] [ Reconfigure and Delete Precious
> Automation Tracks ]

That seems rather useless if it means *any* parameter structure change 
will result in this situation... I think changes have to be handled 
in terms of adding/removing parameters; not entire plugin interfaces.


//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
|  Free/Open Source audio engine for games and multimedia.  |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: