Commit cb28487d authored by Max Kellermann's avatar Max Kellermann

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

Allow pcm_volume() to increase volume.
parent edcd45df
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment