Showing the changes to libraries/script-engine/src/AudioScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -67,3 +67,11 @@ bool AudioScriptingInterface::setStereoInput(bool stereo) { · 66 unmodified lines | |||
| 67 | } | 67 | } |
| 68 | return stereoInputChanged; | 68 | return stereoInputChanged; |
| 69 | } | 69 | } |
| 70 | |||
| 71 | bool AudioScriptingInterface::isStereoEnabled() { | ||
| 72 | bool stereoEnabled = false; | ||
| 73 | if (_localAudioInterface) { | ||
| 74 | stereoEnabled = _localAudioInterface->isStereoEnabled(); | ||
| 75 | } | ||
| 76 | return stereoEnabled; | ||
| 77 | } | ||