aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorViliam Mateicka <the.metyl@gmail.com>2009-12-03 15:07:22 +0100
committerViliam Mateicka <the.metyl@gmail.com>2009-12-03 17:03:21 +0100
commitbae03e173e46fb0174bc37da13b32b403b19c706 (patch)
tree060a5e85c3bfd3f820c14fa146d08b02f2fb97c1 /src
parent07b388f8d4a82a8a518b2a34eb0b1fdf79fa300d (diff)
downloadmpd-bae03e173e46fb0174bc37da13b32b403b19c706.tar.gz
mpd-bae03e173e46fb0174bc37da13b32b403b19c706.tar.xz
mpd-bae03e173e46fb0174bc37da13b32b403b19c706.zip
pcm_mix: change old code to use format instead of bits
Diffstat (limited to 'src')
-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);