aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pcm_mix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_mix.c b/src/pcm_mix.c
index 0f767a1d9..f5a8eb90e 100644
--- a/src/pcm_mix.c
+++ b/src/pcm_mix.c
@@ -120,7 +120,7 @@ pcm_add(void *buffer1, const void *buffer2, size_t size,
size / 4, vol1, vol2);
break;
- case 32:
+ case SAMPLE_FORMAT_S32:
pcm_add_32((int32_t*)buffer1,
(const int32_t*)buffer2,
size / 4, vol1, vol2);