diff options
Diffstat (limited to 'backends/platform/bada/audio.cpp')
-rw-r--r-- | backends/platform/bada/audio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/bada/audio.cpp b/backends/platform/bada/audio.cpp index cfa6418e08..b868e91357 100644 --- a/backends/platform/bada/audio.cpp +++ b/backends/platform/bada/audio.cpp @@ -74,7 +74,7 @@ bool AudioThread::isSilentMode() { } void AudioThread::setMute(bool on) { - if (_audioOut && !isSilentMode()) { + if (_audioOut && _timer) { _muted = on; if (on) { _timer->Cancel(); @@ -88,7 +88,7 @@ int AudioThread::setVolume(bool up, bool minMax) { int level = -1; int numLevels = sizeof(levels) / sizeof(levels[0]); - if (_audioOut && !isSilentMode()) { + if (_audioOut) { int volume = _audioOut->GetVolume(); if (minMax) { level = up ? numLevels - 1 : 0; |