diff options
| -rw-r--r-- | src/qmmp/soundcore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmmp/soundcore.cpp b/src/qmmp/soundcore.cpp index 9ead18b6b..d2ce9b13c 100644 --- a/src/qmmp/soundcore.cpp +++ b/src/qmmp/soundcore.cpp @@ -161,6 +161,8 @@ void SoundCore::setEQEnabled(bool on) void SoundCore::setVolume(int L, int R) { + L = qBound(0, L, 100); + R = qBound(0, R, 100); m_volumeControl->setVolume(L, R); } |
