pcm_mix: change old code to use format instead of bits
This commit is contained in:
parent
07b388f8d4
commit
bae03e173e
@ -120,7 +120,7 @@ pcm_add(void *buffer1, const void *buffer2, size_t size,
|
|||||||
size / 4, vol1, vol2);
|
size / 4, vol1, vol2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 32:
|
case SAMPLE_FORMAT_S32:
|
||||||
pcm_add_32((int32_t*)buffer1,
|
pcm_add_32((int32_t*)buffer1,
|
||||||
(const int32_t*)buffer2,
|
(const int32_t*)buffer2,
|
||||||
size / 4, vol1, vol2);
|
size / 4, vol1, vol2);
|
||||||
|
Loading…
Reference in New Issue
Block a user