Always allow playback w/o session-range

This commit is contained in:
Robin Gareus 2023-11-06 16:46:31 +01:00
parent 673e41434e
commit 3e8cde5ad6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1153,6 +1153,11 @@ Session::compute_stop_limit () const
return max_samplepos;
}
/* is no session-range is defined, allow to roll */
if (!_session_range_location) {
return max_samplepos;
}
return current_end_sample ();
}