pcm_volume: change old code to use format instead of bits
This commit is contained in:
parent
a76097210f
commit
b6b377edd1
|
@ -165,7 +165,7 @@ pcm_volume(void *buffer, int length,
|
||||||
volume);
|
volume);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case 32:
|
case SAMPLE_FORMAT_S32:
|
||||||
pcm_volume_change_32((int32_t*)buffer, length / 4,
|
pcm_volume_change_32((int32_t*)buffer, length / 4,
|
||||||
volume);
|
volume);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue