History

block until audio IO stops on app quit

Stephen Birarda committed 11 years ago

Commit f116d0b1 parent dbe4b6c1 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -447,7 +447,7 @@ Application::~Application() { · 446 unmodified lines
447447 Audio::SharedPointer audioIO = DependencyManager::get<Audio>();
448448
449449 // stop the audio process
450− QMetaObject::invokeMethod(audioIO.data(), "stop");
450+ QMetaObject::invokeMethod(audioIO.data(), "stop", Qt::BlockingQueuedConnection);
451451
452452 // ask the audio thread to quit and wait until it is done
453453 audioIO->thread()->quit();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t