Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 21:19:07 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 21:19:35 +0400
commit59354a7742ff0fc182886f2f2567026e516c1eef (patch)
tree829e4c6f578710c35d46d2df8a52b71d8e1f7950 /include
parent8770b0709bd3c06690bb9bfb025da913d1ccd55f (diff)
Fixes int vs opus_int32 compile errors on C5x
Diffstat (limited to 'include')
-rw-r--r--include/opus_multistream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/opus_multistream.h b/include/opus_multistream.h
index d5217b1d..49b7f811 100644
--- a/include/opus_multistream.h
+++ b/include/opus_multistream.h
@@ -77,7 +77,7 @@ OPUS_EXPORT int opus_multistream_encode(
const opus_int16 *pcm, /**< Input signal as interleaved samples. Length is frame_size*channels */
int frame_size, /**< Number of samples per frame of input signal */
unsigned char *data, /**< Output buffer for the compressed payload (no more than max_data_bytes long) */
- int max_data_bytes /**< Allocated memory for payload; don't use for controlling bitrate */
+ opus_int32 max_data_bytes /**< Allocated memory for payload; don't use for controlling bitrate */
);
/** Returns length of the data payload (in bytes) or a negative error code. */
@@ -86,7 +86,7 @@ OPUS_EXPORT int opus_multistream_encode_float(
const float *pcm, /**< Input signal interleaved in channel order. length is frame_size*channels */
int frame_size, /**< Number of samples per frame of input signal */
unsigned char *data, /**< Output buffer for the compressed payload (no more than max_data_bytes long) */
- int max_data_bytes /**< Allocated memory for payload; don't use for controlling bitrate */
+ opus_int32 max_data_bytes /**< Allocated memory for payload; don't use for controlling bitrate */
);
/** Gets the size of an OpusMSEncoder structure.
@@ -129,7 +129,7 @@ OPUS_EXPORT int opus_multistream_decoder_init(
OPUS_EXPORT int opus_multistream_decode(
OpusMSDecoder *st, /**< Decoder state */
const unsigned char *data, /**< Input payload. Use a NULL pointer to indicate packet loss */
- int len, /**< Number of bytes in payload */
+ opus_int32 len, /**< Number of bytes in payload */
opus_int16 *pcm, /**< Output signal, samples interleaved in channel order . length is frame_size*channels */
int frame_size, /**< Number of samples per frame of input signal */
int decode_fec /**< Flag (0/1) to request that any in-band forward error correction data be */
@@ -140,7 +140,7 @@ OPUS_EXPORT int opus_multistream_decode(
OPUS_EXPORT int opus_multistream_decode_float(
OpusMSDecoder *st, /**< Decoder state */
const unsigned char *data, /**< Input payload buffer. Use a NULL pointer to indicate packet loss */
- int len, /**< Number of payload bytes in data */
+ opus_int32 len, /**< Number of payload bytes in data */
float *pcm, /**< Buffer for the output signal (interleaved iin channel order). length is frame_size*channels */
int frame_size, /**< Number of samples per frame of input signal */
int decode_fec /**< Flag (0/1) to request that any in-band forward error correction data be */