Skip to content
Snippets Groups Projects
Commit 9b897d15 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #38363: alsa: fix rare deadlock

parent df8a85a0
Branches
Tags
No related merge requests found
......@@ -145,7 +145,7 @@ void AlsaThread::run()
initAudioLayer();
alsa_->isStarted_ = true;
while (alsa_->isStarted_) {
while (alsa_->isStarted_ and running_) {
alsa_->audioCallback();
usleep(20000); // 20 ms
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment