From 9462374e29596fde2180b0e38b8aaec3b0a3f01e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Feb 2009 03:21:30 +0000 Subject: Session XML style consistency (tag names are capitalized). One thing left, this weird "end-marker-is-free" in . Is this really a config option? Anyone? git-svn-id: svn://localhost/ardour2/branches/3.0@4577 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audio_track_importer.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/ardour/audio_track_importer.cc') 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); } -- cgit v1.2.3