From 47ee2fc298006581a477429cba0467f0482b9308 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 22 May 2011 14:59:31 +0200 Subject: fixed 16 to 32 bit converter --- premix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'premix.c') diff --git a/premix.c b/premix.c index f637cb44..e8748a74 100644 --- a/premix.c +++ b/premix.c @@ -136,8 +136,8 @@ pcm_write_samples_16_to_32 (const ddb_waveformat_t * restrict inputfmt, const ch const char *in = input + channelmap[c]*2; out[0] = 0; out[1] = 0; - out[2] = input[0]; - out[3] = input[1]; + out[2] = in[0]; + out[3] = in[1]; } input += 2 * inputfmt->channels; output += outputsamplesize; -- cgit v1.2.3