diff options
author | Robin Gareus <robin@gareus.org> | 2020-05-07 19:59:45 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-05-07 20:43:26 +0200 |
commit | a5faef9379e6cab0c82509fad13e389efea939a8 (patch) | |
tree | 35f714492812fe73185461e42c953f90eb421ffb | |
parent | 8ffcdc9d02e4391aff0df74295972bdfb0557c78 (diff) |
Remove unused variable
-rw-r--r-- | libs/ardour/ardour/session.h | 1 | ||||
-rw-r--r-- | libs/ardour/session_transport.cc | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 9ab716ebc9..52a752d601 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1317,7 +1317,6 @@ private: double _default_transport_speed; double _last_transport_speed; double _signalled_varispeed; - double _target_transport_speed; bool auto_play_legal; samplepos_t _requested_return_sample; diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 247f6bd39a..61d7ecc3cc 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -148,7 +148,6 @@ Session::realtime_stop (bool abort, bool clear_state) reset_punch_loop_constraint (); _transport_speed = 0; - _target_transport_speed = 0; _engine_speed = 1.0; g_atomic_int_set (&_playback_load, 100); @@ -428,7 +427,6 @@ Session::set_transport_speed (double speed, bool abort, bool clear_state, bool a } #endif - _target_transport_speed = fabs(speed); _engine_speed = new_engine_speed; if (transport_rolling() && speed == 0.0) { @@ -611,7 +609,6 @@ Session::start_transport () maybe_allow_only_punch (); _transport_speed = _default_transport_speed; - _target_transport_speed = _transport_speed; if (!_engine.freewheeling()) { Timecode::Time time; |