aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-11 16:38:10 +0100
committerMax Kellermann <max@duempel.org>2008-11-11 16:38:10 +0100
commitcb28487d10f3748365623ee98d663505c6c74f9a (patch)
treee215336cef81955ce213256876bde78933e2a51e
parentedcd45df94bf69b78342943cd319d8ceb43ed6d1 (diff)
downloadmpd-cb28487d10f3748365623ee98d663505c6c74f9a.tar.gz
mpd-cb28487d10f3748365623ee98d663505c6c74f9a.tar.xz
mpd-cb28487d10f3748365623ee98d663505c6c74f9a.zip
pcm_utils: allow volume levels greater than 100% in pcm_volume()
Allow pcm_volume() to increase volume.
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c
index a68542f4a..bc9516a8f 100644
--- a/src/pcm_utils.c
+++ b/src/pcm_utils.c
@@ -93,7 +93,7 @@ void pcm_volume(char *buffer, int bufferSize,
const struct audio_format *format,
int volume)
{
- if (volume >= PCM_VOLUME_1)
+ if (volume == PCM_VOLUME_1)
return;
if (volume <= 0) {