mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
change XML node names for cue markers to be capitalized
This commit is contained in:
parent
7cf9e3d89d
commit
d1ee033dd2
1 changed files with 4 additions and 3 deletions
|
|
@ -139,10 +139,10 @@ Source::get_state ()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_cue_markers.empty()) {
|
if (!_cue_markers.empty()) {
|
||||||
XMLNode* cue_parent = new XMLNode (X_("cues"));
|
XMLNode* cue_parent = new XMLNode (X_("Cues"));
|
||||||
|
|
||||||
for (CueMarkers::const_iterator c = _cue_markers.begin(); c != _cue_markers.end(); ++c) {
|
for (CueMarkers::const_iterator c = _cue_markers.begin(); c != _cue_markers.end(); ++c) {
|
||||||
XMLNode* cue_child = new XMLNode (X_("cue"));
|
XMLNode* cue_child = new XMLNode (X_("Cue"));
|
||||||
cue_child->set_property ("text", c->text());
|
cue_child->set_property ("text", c->text());
|
||||||
cue_child->set_property ("position", c->position());
|
cue_child->set_property ("position", c->position());
|
||||||
cue_parent->add_child_nocopy (*cue_child);
|
cue_parent->add_child_nocopy (*cue_child);
|
||||||
|
|
@ -213,12 +213,13 @@ Source::set_state (const XMLNode& node, int version)
|
||||||
_xruns.push_back (x);
|
_xruns.push_back (x);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if ((*niter)->name() == X_("cues")) {
|
} else if ((*niter)->name() == X_("Cues")) {
|
||||||
|
|
||||||
_cue_markers.clear ();
|
_cue_markers.clear ();
|
||||||
|
|
||||||
const XMLNode& cues (*(*niter));
|
const XMLNode& cues (*(*niter));
|
||||||
const XMLNodeList cuelist = cues.children();
|
const XMLNodeList cuelist = cues.children();
|
||||||
|
|
||||||
for (XMLNodeConstIterator citer = cuelist.begin(); citer != cuelist.end(); ++citer) {
|
for (XMLNodeConstIterator citer = cuelist.begin(); citer != cuelist.end(); ++citer) {
|
||||||
string text;
|
string text;
|
||||||
samplepos_t position;
|
samplepos_t position;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue