Showing the changes to interface/src/scripting/AudioDeviceScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -27,9 +27,9 @@ AudioDeviceScriptingInterface::AudioDeviceScriptingInterface() { · 26 unmodified lines | ||
| 27 | 27 | bool AudioDeviceScriptingInterface::setInputDevice(const QString& deviceName) { |
| 28 | 28 | bool result; |
| 29 | 29 | QMetaObject::invokeMethod(DependencyManager::get<Audio>(), "switchInputToAudioDevice", |
| 30 | − Qt::BlockingQueuedConnection, | |
| 31 | − Q_RETURN_ARG(bool, result), | |
| 32 | − Q_ARG(const QString&, deviceName)); | |
| 30 | + Qt::BlockingQueuedConnection, | |
| 31 | + Q_RETURN_ARG(bool, result), | |
| 32 | + Q_ARG(const QString&, deviceName)); | |
| 33 | 33 | |
| 34 | 34 | return result; |
| 35 | 35 | } |
| @@ -37,9 +37,9 @@ bool AudioDeviceScriptingInterface::setInputDevice(const QString& deviceName) { · 1 unmodified line | ||
| 37 | 37 | bool AudioDeviceScriptingInterface::setOutputDevice(const QString& deviceName) { |
| 38 | 38 | bool result; |
| 39 | 39 | QMetaObject::invokeMethod(DependencyManager::get<Audio>(), "switchOutputToAudioDevice", |
| 40 | − Qt::BlockingQueuedConnection, | |
| 41 | − Q_RETURN_ARG(bool, result), | |
| 42 | − Q_ARG(const QString&, deviceName)); | |
| 40 | + Qt::BlockingQueuedConnection, | |
| 41 | + Q_RETURN_ARG(bool, result), | |
| 42 | + Q_ARG(const QString&, deviceName)); | |
| 43 | 43 | |
| 44 | 44 | return result; |
| 45 | 45 | } |