mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Prevent locate while recording
This commit is contained in:
parent
1e491591c3
commit
dbaead18bd
1 changed files with 4 additions and 0 deletions
|
|
@ -916,6 +916,10 @@ Session::request_stop (bool abort, bool clear_state, TransportRequestSource orig
|
|||
void
|
||||
Session::request_locate (samplepos_t target_sample, bool force, LocateTransportDisposition ltd, TransportRequestSource origin)
|
||||
{
|
||||
if (actively_recording ()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (synced_to_engine()) {
|
||||
_engine.transport_locate (target_sample);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue