Prevent locate while recording
This commit is contained in:
parent
1e491591c3
commit
dbaead18bd
@ -916,6 +916,10 @@ Session::request_stop (bool abort, bool clear_state, TransportRequestSource orig
|
|||||||
void
|
void
|
||||||
Session::request_locate (samplepos_t target_sample, bool force, LocateTransportDisposition ltd, TransportRequestSource origin)
|
Session::request_locate (samplepos_t target_sample, bool force, LocateTransportDisposition ltd, TransportRequestSource origin)
|
||||||
{
|
{
|
||||||
|
if (actively_recording ()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (synced_to_engine()) {
|
if (synced_to_engine()) {
|
||||||
_engine.transport_locate (target_sample);
|
_engine.transport_locate (target_sample);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user