* forgot to remove those lines
authorHans Baier <hansfbaier@googlemail.com>
Wed, 6 Aug 2008 23:03:02 +0000 (23:03 +0000)
committerHans Baier <hansfbaier@googlemail.com>
Wed, 6 Aug 2008 23:03:02 +0000 (23:03 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3664 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/midi_clock_slave.cc

index f7810f36d05609613fbddfd413036f332870e325..4b6efdd9491bf1b5ba3556d13b96f3b97a806da6 100644 (file)
@@ -173,12 +173,6 @@ bool
 MIDIClock_Slave::speed_and_position (float& speed, nframes_t& pos)
 {
        //std::cerr << "MIDIClock_Slave speed and position() called" << endl;
-
-       if(_started == false) {
-               speed = 0.0;
-               pos = 0;
-       }
-       
        nframes_t now = session.engine().frame_time();
        nframes_t frame_rate = session.frame_rate();
        nframes_t elapsed;
@@ -258,7 +252,5 @@ MIDIClock_Slave::reset ()
        first_midi_clock_frame = 0;
        first_midi_clock_time = 0;
 
-       accumulator_index = 0;
-       have_first_accumulated_speed = false;
        midi_clock_speed = 0;
 }