pcm_utils: allow volume levels greater than 100% in pcm_volume()

Allow pcm_volume() to increase volume.
This commit is contained in:
Max Kellermann 2008-11-11 16:38:10 +01:00
parent edcd45df94
commit cb28487d10

View File

@ -93,7 +93,7 @@ void pcm_volume(char *buffer, int bufferSize,
const struct audio_format *format, const struct audio_format *format,
int volume) int volume)
{ {
if (volume >= PCM_VOLUME_1) if (volume == PCM_VOLUME_1)
return; return;
if (volume <= 0) { if (volume <= 0) {