Media player synchronicity to beat or phase

Metronome synched play, rewind and step. saving in xml.
This commit is contained in:
Bruno Herbelin
2021-11-26 12:22:39 +01:00
parent e123d139e4
commit 1b4849f214
6 changed files with 41 additions and 22 deletions

View File

@@ -354,6 +354,7 @@ void SessionVisitor::visit(MediaPlayer &n)
newelement->SetAttribute("speed", n.playSpeed());
newelement->SetAttribute("software_decoding", n.softwareDecodingForced());
newelement->SetAttribute("rewind_on_disabled", n.rewindOnDisabled());
newelement->SetAttribute("sync_to_metronome", (int) n.syncToMetronome());
// timeline
XMLElement *timelineelement = xmlDoc_->NewElement("Timeline");