Showing the changes to libraries/script-engine/src/AudioScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -60,8 +60,10 @@ ScriptAudioInjector* AudioScriptingInterface::playSound(SharedSoundPointer sound · 59 unmodified lines | |||
| 60 | } | 60 | } |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | void AudioScriptingInterface::setStereoInput(bool stereo) { | 63 | bool AudioScriptingInterface::setStereoInput(bool stereo) { |
| 64 | bool stereoInputChanged = false; | ||
| 64 | if (_localAudioInterface) { | 65 | if (_localAudioInterface) { |
| 65 | _localAudioInterface->setIsStereoInput(stereo); | 66 | stereoInputChanged = _localAudioInterface->setIsStereoInput(stereo); |
| 66 | } | 67 | } |
| 68 | return stereoInputChanged; | ||
| 67 | } | 69 | } |