diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index bfc2be3ff1..3ec2def947 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -97,7 +97,7 @@ class LV2Plugin : public ARDOUR::Plugin int connect_and_run (BufferSet& bufs, uint32_t& in, uint32_t& out, nframes_t nframes, nframes_t offset); std::string describe_parameter (Evoral::Parameter); - std::string state_node_name() const { return "lv2"; } + std::string state_node_name() const { return "LV2"; } void print_parameter (uint32_t, char*, uint32_t len) const; bool parameter_is_audio(uint32_t) const; diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc index 9154747152..104815b9dc 100644 --- a/libs/ardour/audio_track.cc +++ b/libs/ardour/audio_track.cc @@ -319,7 +319,7 @@ AudioTrack::state(bool full_state) /* Alignment: act as a proxy for the diskstream */ - XMLNode* align_node = new XMLNode (X_("alignment")); + XMLNode* align_node = new XMLNode (X_("Alignment")); AlignStyle as = _diskstream->alignment_style (); align_node->add_property (X_("style"), enum_2_string (as)); root.add_child_nocopy (*align_node); @@ -402,7 +402,7 @@ AudioTrack::set_state_part_two () /* Alignment: act as a proxy for the diskstream */ - if ((fnode = find_named_node (*pending_state, X_("alignment"))) != 0) { + if ((fnode = find_named_node (*pending_state, X_("Alignment"))) != 0) { if ((prop = fnode->property (X_("style"))) != 0) { 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); } diff --git a/libs/ardour/configuration.cc b/libs/ardour/configuration.cc index 56dfd99f02..1a78848a34 100644 --- a/libs/ardour/configuration.cc +++ b/libs/ardour/configuration.cc @@ -297,7 +297,7 @@ Configuration::set_state (const XMLNode& root) set_variables (*node, ConfigVariableBase::Config); - } else if (node->name() == "extra") { + } else if (node->name() == "Extra") { _extra_xml = new XMLNode (*node); } else if (node->name() == ControlProtocolManager::state_node_name) { diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index 40313fad2e..5e5f630ecb 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -1417,7 +1417,7 @@ IO::set_state (const XMLNode& node) set_automation_state (*(*iter), Evoral::Parameter(GainAutomation)); } - if ((*iter)->name() == X_("controllable")) { + if ((*iter)->name() == X_("Controllable")) { if ((prop = (*iter)->property("name")) != 0 && prop->value() == "gaincontrol") { _gain_control->set_state (**iter); } diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc index ea8b431481..e7cdcc274d 100644 --- a/libs/ardour/ladspa_plugin.cc +++ b/libs/ardour/ladspa_plugin.cc @@ -349,7 +349,7 @@ LadspaPlugin::get_state() if (LADSPA_IS_PORT_INPUT(port_descriptor (i)) && LADSPA_IS_PORT_CONTROL(port_descriptor (i))){ - child = new XMLNode("port"); + child = new XMLNode("Port"); snprintf(buf, sizeof(buf), "%u", i); child->add_property("number", string(buf)); snprintf(buf, sizeof(buf), "%+f", _shadow_data[i]); @@ -384,7 +384,7 @@ LadspaPlugin::set_state(const XMLNode& node) return -1; } - nodes = node.children ("port"); + nodes = node.children ("Port"); for(iter = nodes.begin(); iter != nodes.end(); ++iter){ diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 03e3ea5bc2..ca24e94299 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -259,7 +259,7 @@ LV2Plugin::get_state() for (uint32_t i = 0; i < parameter_count(); ++i){ if (parameter_is_input(i) && parameter_is_control(i)) { - child = new XMLNode("port"); + child = new XMLNode("Port"); snprintf(buf, sizeof(buf), "%u", i); child->add_property("number", string(buf)); child->add_property("symbol", port_symbol(i)); @@ -345,7 +345,7 @@ LV2Plugin::set_state(const XMLNode& node) return -1; } - nodes = node.children ("port"); + nodes = node.children ("Port"); for(iter = nodes.begin(); iter != nodes.end(); ++iter){ diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index 0b38ad06a8..4e755d8717 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -114,7 +114,7 @@ MidiModel::DeltaCommand::operator()() // Store the current seek position so we can restore the read iterator // after modifying the contents of the model - const double read_time = _model->read_time(); + const TimeType read_time = _model->read_time(); for (NoteList::iterator i = _added_notes.begin(); i != _added_notes.end(); ++i) _model->add_note_unlocked(*i); @@ -139,7 +139,7 @@ MidiModel::DeltaCommand::undo() // Store the current seek position so we can restore the read iterator // after modifying the contents of the model - const double read_time = _model->read_time(); + const TimeType read_time = _model->read_time(); for (NoteList::iterator i = _added_notes.begin(); i != _added_notes.end(); ++i) _model->remove_note_unlocked(*i); @@ -181,7 +181,7 @@ MidiModel::DeltaCommand::marshal_note(const boost::shared_ptr< Evoral::Note