diff options
author | David Robillard <d@drobilla.net> | 2009-02-15 03:21:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-15 03:21:30 +0000 |
commit | 9462374e29596fde2180b0e38b8aaec3b0a3f01e (patch) | |
tree | 8fc88529af5be3a854c4c952985b796d9c121edf /libs/ardour/audio_track_importer.cc | |
parent | 74ff55f835656f617f1c508508cda49ac5836c91 (diff) |
Session XML style consistency (tag names are capitalized).
One thing left, this weird "end-marker-is-free" in <Config>. Is this really a config option? Anyone?
git-svn-id: svn://localhost/ardour2/branches/3.0@4577 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_track_importer.cc')
-rw-r--r-- | libs/ardour/audio_track_importer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/audio_track_importer.cc b/libs/ardour/audio_track_importer.cc index 32b90e00dc..997acde3cd 100644 --- a/libs/ardour/audio_track_importer.cc +++ b/libs/ardour/audio_track_importer.cc @@ -90,18 +90,18 @@ AudioTrackImporter::AudioTrackImporter (XMLTree const & source, throw failed_constructor(); } - XMLNodeList const & controllables = node.children ("controllable"); + XMLNodeList const & controllables = node.children ("Controllable"); for (XMLNodeList::const_iterator it = controllables.begin(); it != controllables.end(); ++it) { parse_controllable (**it); } - XMLNode * remote_control = xml_track.child ("remote_control"); + XMLNode * remote_control = xml_track.child ("RemoteControl"); if (remote_control && (prop = remote_control->property ("id"))) { uint32_t control_id = session.ntracks() + session.nbusses() + 1; prop->set_value (to_string (control_id, std::dec)); } - xml_track.remove_nodes_and_delete ("extra"); + xml_track.remove_nodes_and_delete ("Extra"); } AudioTrackImporter::~AudioTrackImporter () @@ -196,7 +196,7 @@ AudioTrackImporter::parse_io () return false; } - XMLNodeList const & controllables = io->children ("controllable"); + XMLNodeList const & controllables = io->children ("Controllable"); for (XMLNodeList::const_iterator it = controllables.begin(); it != controllables.end(); ++it) { parse_controllable (**it); } |