Test code removal...
authorMichael Fisher <mfisher31@gmail.com>
Wed, 31 Jul 2013 12:15:52 +0000 (07:15 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 8 Aug 2013 19:26:18 +0000 (15:26 -0400)
libs/ardour/ticker.cc

index bb74767307be351791d35b9bfe9cd22e704dbd3e..d140b9fceba5e007b80fa439af114333eb825e6e 100644 (file)
@@ -39,7 +39,7 @@ class MidiClockTicker::Position : public Timecode::BBT_Time
 {
 public:
 
-       Position() : speed(0.0f), frame(0), clocks_till_locate(-1) { }
+       Position() : speed(0.0f), frame(0) { }
        ~Position() { }
 
        /** Sync timing information taken from the given Session
@@ -143,7 +143,7 @@ MidiClockTicker::session_located()
                std::clog << "zero frame\n";
                if (1.0f == _pos->speed) {
                        std::clog << "normal speed:\n";
-                       _pos->clocks_till_locate = 0;
+
                }
        }
 }
@@ -252,11 +252,6 @@ MidiClockTicker::transport_looped()
 void
 MidiClockTicker::tick (const framepos_t& transport_frame)
 {
-       if (_pos->clocks_till_locate == 0) {
-               std::clog << "Locate: " << transport_frame << std::endl;
-       }
-
-       --_pos->clocks_till_locate;
 
        if (!Config->get_send_midi_clock() || _session == 0 || _session->transport_speed() != 1.0f || _midi_port == 0) {
                return;