Showing the changes to libraries/script-engine/src/AudioScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -75,10 +75,11 @@ ScriptAudioInjector* AudioScriptingInterface::playSound(SharedSoundPointer sound · 74 unmodified lines | |||
| 75 | } | 75 | } |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | void AudioScriptingInterface::setStereoInput(bool stereo) { | 78 | bool AudioScriptingInterface::setStereoInput(bool stereo) { |
| 79 | if (_localAudioInterface) { | 79 | if (_localAudioInterface) { |
| 80 | QMetaObject::invokeMethod(_localAudioInterface, "setIsStereoInput", Q_ARG(bool, stereo)); | 80 | QMetaObject::invokeMethod(_localAudioInterface, "setIsStereoInput", Q_ARG(bool, stereo)); |
| 81 | } | 81 | } |
| 82 | return true; | ||
| 82 | } | 83 | } |
| 83 | 84 | ||
| 84 | bool AudioScriptingInterface::isStereoInput() { | 85 | bool AudioScriptingInterface::isStereoInput() { |