PulseAudio: don't set _run = false when stop() already did it
This commit is contained in:
parent
ba5ca2de05
commit
51501e5532
@ -633,7 +633,6 @@ PulseAudioBackend::_start (bool /*for_latency_measurement*/)
|
|||||||
if (pbd_pthread_create (PBD_RT_STACKSIZE_PROC, &_main_thread, pthread_process, this)) {
|
if (pbd_pthread_create (PBD_RT_STACKSIZE_PROC, &_main_thread, pthread_process, this)) {
|
||||||
PBD::error << _("PulseAudioBackend: failed to create process thread.") << endmsg;
|
PBD::error << _("PulseAudioBackend: failed to create process thread.") << endmsg;
|
||||||
stop ();
|
stop ();
|
||||||
_run = false;
|
|
||||||
return ProcessThreadStartError;
|
return ProcessThreadStartError;
|
||||||
} else {
|
} else {
|
||||||
PBD::warning << _("PulseAudioBackend: cannot acquire realtime permissions.") << endmsg;
|
PBD::warning << _("PulseAudioBackend: cannot acquire realtime permissions.") << endmsg;
|
||||||
|
Loading…
Reference in New Issue
Block a user