diff options
author | waker <wakeroid@gmail.com> | 2011-05-22 14:59:31 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-05-22 14:59:31 +0200 |
commit | 47ee2fc298006581a477429cba0467f0482b9308 (patch) | |
tree | 42ba75e8f9316ebef57d5f991fb2c59a51fdd93e /premix.c | |
parent | c63133b3144cb6b52eb7d8516e31fb520e5c8924 (diff) |
fixed 16 to 32 bit converter
Diffstat (limited to 'premix.c')
-rw-r--r-- | premix.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |