--- Angus Hewlett wrote: > The fundamental identifier of a parameter should be the path, and > the parameter list is dynamic. However, in between changes in the > parameter list, it should be possible for the host to address > parameters via an integer index. So, something like... > > plug: HostCallback->MyParamsHaveChanged(); > > host: int volIdx = plug->GetParamIndexByName("/global/mixer/volume"); > > .. host can now use volIdx in automation calls. Just one little implementation note: I certainly hope properties changes, like changes to the parameter list, are not announced via host callbacks. What about other "listeners" who might be interested, like a GUI? I hope that we use some sort of property listener/notification system like AU instead. Marc __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ---------------------------------------------------------------------- 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: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe