[gmpi] Summary 8.2: Parameters and saving/restoring state

  • From: Tim Hockin <thockin@xxxxxxxxxx>
  • To: GMPI list <gmpi@xxxxxxxxxxxxx>
  • Date: Mon, 8 Sep 2003 12:39:06 -0700

By a vote (as best I can tally) of 5 to 2, option A, or something similar,
wins the nomination.  How's this sound?


8.2 Parameters and saving/restoring state
-----------------------------------------

For the purpose of saving and restoring state, the abstraction of stata
(sing. statum) is introduced.  A statum is a single atomic unit of state.
A plugin's state is completely represented by it's stata.  When a host
wants to save the state of a plugin (for a preset, for a project file,
etc.), the host can iterate over all the stata exposed by the plugin, and
retrieve the current values.  When restoring state, the host can set the
values of the stata.  Stata may be opaque blobs, which are unintelligible to
the host. Whether or not stata are actually entities in the GMPI system is
TBD.  It may be decided that stata are actually abstracted from parameters,
with a common (but not mandatory) 1-to-1 mapping, or it may be decided that
stata and parameters are the same thing.

-- 
Notice that as computers are becoming easier and easier to use,
suddenly there's a big market for "Dummies" books.  Cause and effect,
or merely an ironic juxtaposition of unrelated facts?


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