History

Switch to preprocessor macro for blocking invokes to capture function information

Brad Davis committed 9 years ago

Commit 6fc82bb1 parent 9c37b2839 files · +124 −118Browse files

Showing the changes to libraries/script-engine/src/AudioScriptingInterface.cpp (1 of 39 files). Show all

Unified · Split

libraries/script-engine/src/AudioScriptingInterface.cpp+1−1
@@ -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));