Fixes a trivial multistream fixed-point bug

This commit is contained in:
Jean-Marc Valin 2011-08-28 02:12:31 -04:00
parent ccaa6d2cf8
commit 69abbf4662

View file

@ -211,7 +211,7 @@ int opus_multistream_encode(
int opus_multistream_encode_float( int opus_multistream_encode_float(
#endif #endif
OpusMSEncoder *st, /* Encoder state */ 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 */ int frame_size, /* Number of samples per frame of input signal */
unsigned char *data, /* Output payload (no more than max_data_bytes long) */ 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 */ int max_data_bytes /* Allocated memory for payload; don't use for controlling bitrate */