ref: 69abbf4662453350324bf2ac989f499d0d0ddabf
parent: ccaa6d2cf8ed33928624fd3d5b5d72b831c37921
author: Jean-Marc Valin <[email protected]>
date: Sat Aug 27 22:12:31 EDT 2011
Fixes a trivial multistream fixed-point bug
--- a/src/opus_multistream.c
+++ b/src/opus_multistream.c
@@ -211,7 +211,7 @@
int opus_multistream_encode_float(
#endif
OpusMSEncoder *st, /* Encoder state */
- const float *pcm, /* Input signal (interleaved if 2 channels). length is frame_size*channels */
+ const opus_val16 *pcm, /* Input signal (interleaved if 2 channels). length is frame_size*channels */
int frame_size, /* Number of samples per frame of input signal */
unsigned char *data, /* Output payload (no more than max_data_bytes long) */
int max_data_bytes /* Allocated memory for payload; don't use for controlling bitrate */