[gmpi] Re: Topic 8: Parameters

  • From: Tim Hockin <thockin@xxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Fri, 8 Aug 2003 13:01:51 -0700 (PDT)

> nowversion = GetVersion
> if (nowversion != saveversion)
>     error = SetVersionState(saveversion)
> if (error)
>     fail
> while (iterating through every parameter)
>     setparameter(ID, savedata[ID])
> if (nowversion != saveversion)
>     error = SetVersionState(nowversion)
> 
> So in the end, you cap off your settings restoring with another call to
> SetVersionState to say, "okay, now you can be yourself again."
> 
> Anyway, just my thoughts, this seems like in general it could be a good
> solution, in my opinion...

Something like this could work, but (IMHO) it's even less pretty than a
single state blob.

Tim

----------------------------------------------------------------------
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

Other related posts: