Fix crash on xrun-reset when recording
Since 80c11a763a
the GUI is notified when the xrun counter
is reset (previously the rec-ui xrun counter never returned
to zero).
However when create-xrun-marker is enabled ARDOUR_UI::xrun_handler
tried to create a marker at -1 which causes various issues.
This commit is contained in:
parent
c3978cefb1
commit
6cf19dac18
@ -130,7 +130,7 @@ ARDOUR_UI::halt_on_xrun_message ()
|
||||
void
|
||||
ARDOUR_UI::xrun_handler (samplepos_t where)
|
||||
{
|
||||
if (!_session) {
|
||||
if (!_session || where < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user