Default_Play_Speed: when transport is stopped, we want to run the engine at the varispeed setting.

* PRO: you can audition synths at the varispeed tuning; you can use x42 guitar tuner when stopped
* CON: this is NOT like a tape machine ... a tape machine has no 'speed' when stopped

ToDo:  if we find that this is contentious, we could make a config var for it
This commit is contained in:
Ben Loftis 2021-06-22 12:29:45 -05:00
parent 5b8835483e
commit 9217b25fe3

View File

@ -1251,7 +1251,11 @@ Session::plan_master_strategy (pframes_t nframes, double master_speed, samplepos
*/
if (!config.get_external_sync()) {
return actual_speed ();
float desired = actual_speed ();
if (desired==0.0) {
return _transport_fsm->default_speed();
}
return desired;
}
/* When calling TransportMasterStart, sould aim for