Showing the changes to interface/src/scripting/AudioDeviceScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -78,3 +78,11 @@ void AudioDeviceScriptingInterface::setReverb(bool reverb) { · 77 unmodified lines | ||
| 78 | 78 | void AudioDeviceScriptingInterface::setReverbOptions(const AudioEffectOptions* options) { |
| 79 | 79 | Application::getInstance()->getAudio()->setReverbOptions(options); |
| 80 | 80 | } |
| 81 | + | |
| 82 | +void AudioDeviceScriptingInterface::toggleMute() { | |
| 83 | + Application::getInstance()->getAudio()->toggleMute(); | |
| 84 | +} | |
| 85 | + | |
| 86 | +bool AudioDeviceScriptingInterface::getMuted() { | |
| 87 | + return Application::getInstance()->getAudio()->getMuted(); | |
| 88 | +} | |