Showing the changes to libraries/script-engine/src/AudioScriptingInterface.cpp (1 of 39 files). Show all
Unified · Split
| @@ -34,7 +34,7 @@ ScriptAudioInjector* AudioScriptingInterface::playSound(SharedSoundPointer sound · 33 unmodified lines | |||
| 34 | if (QThread::currentThread() != thread()) { | 34 | if (QThread::currentThread() != thread()) { |
| 35 | ScriptAudioInjector* injector = NULL; | 35 | ScriptAudioInjector* injector = NULL; |
| 36 | 36 | ||
| 37 | hifi::qt::blockingInvokeMethod(this, "playSound", | 37 | BLOCKING_INVOKE_METHOD(this, "playSound", |
| 38 | Q_RETURN_ARG(ScriptAudioInjector*, injector), | 38 | Q_RETURN_ARG(ScriptAudioInjector*, injector), |
| 39 | Q_ARG(SharedSoundPointer, sound), | 39 | Q_ARG(SharedSoundPointer, sound), |
| 40 | Q_ARG(const AudioInjectorOptions&, injectorOptions)); | 40 | Q_ARG(const AudioInjectorOptions&, injectorOptions)); |