[gmpi] Re: ABI's / Nutshell
- From: Chris Grigg <gmpi-public@xxxxxxxxxxxxxx>
- To: gmpi@xxxxxxxxxxxxx
- Date: Thu, 24 Feb 2005 17:29:52 -0800
Jeff said:
Hi Chris,
Just re-checked them, see nothing there that says a GUI instance
isn't tied to a plug instance. Just what do you mean, and can you
point me to a supporting req # please?
Req 76: GUIs are not part of a DSP plugin with private access to
the DSP internals.
I didn't say it had to be part of the DSP side, nor that it had to
have access to the internals of the DSP side, all I said was it made
more sense to have the DSP side be where you go to get an instance of
its GUI side. A GUI only has meaning in the sense that it
corresponds to a DSP instance, is that not true? You do have to set
up a link between the two anyhow, do you not?
Regarding the QueryInterface. Appologies if I seem rude. Just feel
like everyone who joins the list has the same knee-jerk reaction to
it.. proposes something 'simpler' (to them), but not really any
better.
Apology accepted, and I hope you'll take mine as well for my probably
equally rude seeming retort. Now what about the problem of
populating menus etc. with plugs you can't know you can't use until
you instantiate them? This is not a knee-jerk thing, this is an
issue.
-- Chris G.
Best Regards,
Jeff
Is it for managing plug API version changes?
Yep.
Couldn't the factory or the metadata provide that more simply?
More simply than a single function?
It's not simple to go all the way through populating plug menus and
instantiating a plug object, only to find out you can't use it
because API versions don't match. Meantime memory's chewed and the
user's irritated. The factory or metadata can know this, so we can
head this off, so we must.
More robustly than a mechanism that returns NULL if the host
doesn't support the plugin version?
More flexible than a mechanism whereby the plugin can choose to
support say GMPI V1 and V3 but not V2?
if( !( iSupportGmpiApiVersion( yourFactory-->getGmpiApiVersion() )
) { getRidOf( yourPlugDll ); }
What's complicated, unreliable, or inflexible about that?
Best Regards,
Jeff McClintock - explaining interfaces to the world... one person
at a time.
Same to you.
-- Chris G. - explaining doing what the job requires to the
world... one person at a time
----------------------------------------------------------------------
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
- Follow-Ups:
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
- [gmpi] Re: ABI's / Nutshell
- From: Tim Hockin
- References:
- [gmpi] Re: ABI's
- From: jeffmcc
- [gmpi] Re: ABI's
- From: Chris Grigg
- [gmpi] Re: ABI's
- From: Tim Hockin
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Tim Hockin
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
Other related posts:
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
- » [gmpi] Re: ABI's / Nutshell
Hi Chris,
Just re-checked them, see nothing there that says a GUI instance isn't tied to a plug instance. Just what do you mean, and can you point me to a supporting req # please?
Req 76: GUIs are not part of a DSP plugin with private access to the DSP internals.
Best Regards, Jeff
Is it for managing plug API version changes? Yep.
Couldn't the factory or the metadata provide that more simply?
More simply than a single function?
It's not simple to go all the way through populating plug menus and instantiating a plug object, only to find out you can't use it because API versions don't match. Meantime memory's chewed and the user's irritated. The factory or metadata can know this, so we can head this off, so we must.
More robustly than a mechanism that returns NULL if the host doesn't support the plugin version?
More flexible than a mechanism whereby the plugin can choose to support say GMPI V1 and V3 but not V2?
if( !( iSupportGmpiApiVersion( yourFactory-->getGmpiApiVersion() ) ) { getRidOf( yourPlugDll ); }
What's complicated, unreliable, or inflexible about that?
Best Regards,
Jeff McClintock - explaining interfaces to the world... one person at a time.
Same to you.
-- Chris G. - explaining doing what the job requires to the world... one person at a time
---------------------------------------------------------------------- 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.
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
- [gmpi] Re: ABI's / Nutshell
- From: Tim Hockin
- [gmpi] Re: ABI's
- From: jeffmcc
- [gmpi] Re: ABI's
- From: Chris Grigg
- [gmpi] Re: ABI's
- From: Tim Hockin
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Tim Hockin
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock
- [gmpi] Re: ABI's / Nutshell
- From: Chris Grigg
- [gmpi] Re: ABI's / Nutshell
- From: Jeff McClintock