|
From: Tapio V. <aa...@us...> - 2011-01-31 10:05:56
|
Module: editor
Branch: master
Commit: 9f6a3882acfe0cfd25ba7593447c4666722ec6f2
Author: Tapio Vierros <tap...@gm...>
Date: Mon Jan 31 12:00:21 2011 +0200
SingStar XML import/export: Perfect timing sync round-trip.
---
songwriter-xml.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/songwriter-xml.cc b/songwriter-xml.cc
index 3fd2d6d..7a70cd3 100644
--- a/songwriter-xml.cc
+++ b/songwriter-xml.cc
@@ -81,7 +81,7 @@ void SingStarXMLWriter::writeXML() {
// This is only done if the pause has duration
// We also take the overall position into consideration (counter rounding errors)
int pauseLen = 0;
- double end = dur2sec(ts) + n.length();
+ double end = dur2sec(ts);
if (i < notes.size() - 1)
pauseLen = sec2dur(notes[i+1].begin - end); // Difference to next note
if (pauseLen > 0) {
|