Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -6638,11 +6638,16 @@ void Application::resetSensors(bool andReload) { · 6637 unmodified lines | ||
| 6638 | 6638 | } |
| 6639 | 6639 | |
| 6640 | 6640 | void Application::hmdVisibleChanged(bool visible) { |
| 6641 | + // TODO | |
| 6642 | + // calling start and stop will change audio input and ouput to default audio devices. | |
| 6643 | + // we need to add a pause/unpause functionality to AudioClient for this to work properly | |
| 6644 | +#if 0 | |
| 6641 | 6645 | if (visible) { |
| 6642 | 6646 | QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "start", Qt::QueuedConnection); |
| 6643 | 6647 | } else { |
| 6644 | 6648 | QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "stop", Qt::QueuedConnection); |
| 6645 | 6649 | } |
| 6650 | +#endif | |
| 6646 | 6651 | } |
| 6647 | 6652 | |
| 6648 | 6653 | void Application::updateWindowTitle() const { |