summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--premix.c4
1 files changed, 2 insertions, 2 deletions
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;