[ardour-dev] XML base nodes

John Emmas johne53 at tiscali.co.uk
Sat Jun 9 02:27:07 PDT 2007


Hi all,

The following basic nodes have been present in every XML session state file
that I've looked at, so far:-

<Session>
<Config>
<Sources>
<Regions>
<DiskStreams>
<Locations>
<Connections>
<Routes>
<EditGroups>
<MixGroups>
<Playlists>
<UnusedPlaylists>
<Click>
<NamedSelections>
<TempoMap>
<ControlProtocols>
<extra>

Some of these (e.g. Connections, EditGroups and MixGroups) are allowed
to be empty whereas others aren't.  For example, attempting to load a 
session state file where TempoMap is empty will cause Ardour to crash.

What's the best strategy for this?  Don't include those entries?  Or
include them with some default values?  Or doesn't it matter?


John



More information about the Ardour-Dev mailing list