summaryrefslogtreecommitdiff
path: root/libs/ardour/ticker.cc
diff options
context:
space:
mode:
authorMichael Fisher <mfisher31@gmail.com>2013-07-31 07:15:52 -0500
committerMichael Fisher <mfisher31@gmail.com>2013-08-02 08:59:32 -0500
commit6088446d8fb6dffa336e0bbbd7cbe68b13681942 (patch)
treefc964f1019b442cd09c0e8f55c0fd60270a33b3b /libs/ardour/ticker.cc
parentb8964f7b1bc8d7d421c9eda2a4cf47c85bdfee27 (diff)
Test code removal...
Diffstat (limited to 'libs/ardour/ticker.cc')
-rw-r--r--libs/ardour/ticker.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/libs/ardour/ticker.cc b/libs/ardour/ticker.cc
index bb74767307..d140b9fceb 100644
--- a/libs/ardour/ticker.cc
+++ b/libs/ardour/ticker.cc
@@ -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;