13
0

add new transport related member to Session, and initialize _last_transport_speed

The missing initialization didn't cause a visible problem, but was added for completeness
This commit is contained in:
Paul Davis 2021-02-12 09:35:07 -07:00
parent c5cca7680e
commit 767253bbd8
2 changed files with 3 additions and 0 deletions

View File

@ -1357,6 +1357,7 @@ private:
double _default_transport_speed;
double _default_engine_speed;
double _last_transport_speed;
double _requested_transport_speed;
double _signalled_varispeed;
bool auto_play_legal;

View File

@ -197,6 +197,8 @@ Session::Session (AudioEngine &eng,
, _transport_speed (0)
, _default_transport_speed (1.0)
, _default_engine_speed (1.0)
, _last_transport_speed (1.0)
, _requested_transport_speed (0.0)
, _signalled_varispeed (0)
, auto_play_legal (false)
, _requested_return_sample (-1)