pcm_utils: allow volume levels greater than 100% in pcm_volume()
Allow pcm_volume() to increase volume.
This commit is contained in:
parent
edcd45df94
commit
cb28487d10
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue