traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/commands PlayHeadMove.cpp


From: Ben Levitt
Subject: [Traverso-commit] traverso/src/commands PlayHeadMove.cpp
Date: Wed, 23 May 2007 05:51:09 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Ben Levitt <benjie>     07/05/23 05:51:09

Modified files:
        src/commands   : PlayHeadMove.cpp 

Log message:
        don't seek on PlayHeadMove::finish_hold() if SyncDuringDrag is true

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/commands/PlayHeadMove.cpp?cvsroot=traverso&r1=1.7&r2=1.8

Patches:
Index: PlayHeadMove.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/commands/PlayHeadMove.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- PlayHeadMove.cpp    15 May 2007 11:25:42 -0000      1.7
+++ PlayHeadMove.cpp    23 May 2007 05:51:08 -0000      1.8
@@ -42,6 +42,10 @@
        if (x < 0) {
                x = 0;
        }
+
+       // When SyncDuringDrag is true, don't seek in finish_hold()
+       // since that causes another audio glitch.
+       if (!m_resync) {
        // if the song is transporting, the seek action will cause 
        // the playcursor to be moved to the correct location.
        // Until then hide it, it will be shown again when the seek is finished!
@@ -49,6 +53,7 @@
                m_cursor->hide();
        }
        m_song->set_transport_pos( (nframes_t) (x * m_sv->scalefactor));
+       }
        m_sv->start_shuttle(false);
        return -1;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]