diff options
author | Max Kellermann <max@duempel.org> | 2008-11-11 16:38:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-11 16:38:10 +0100 |
commit | cb28487d10f3748365623ee98d663505c6c74f9a (patch) | |
tree | e215336cef81955ce213256876bde78933e2a51e /src/pcm_utils.c | |
parent | edcd45df94bf69b78342943cd319d8ceb43ed6d1 (diff) | |
download | mpd-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 'src/pcm_utils.c')
-rw-r--r-- | src/pcm_utils.c | 2 |
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) { |