| Index: webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.h
|
| diff --git a/webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.h b/webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.h
|
| index 493496848ea75a4b372720d47e7853453d73b922..be0b121abbc4a7baa9af9cc3b362c3a3d87ec198 100644
|
| --- a/webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.h
|
| +++ b/webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.h
|
| @@ -18,6 +18,8 @@
|
| #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_INTERFACE_ILBC_H_
|
| #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_INTERFACE_ILBC_H_
|
|
|
| +#include <stddef.h>
|
| +
|
| /*
|
| * Define the fixpoint numeric formats
|
| */
|
| @@ -137,7 +139,7 @@ extern "C" {
|
|
|
| int WebRtcIlbcfix_Encode(IlbcEncoderInstance *iLBCenc_inst,
|
| const int16_t *speechIn,
|
| - int16_t len,
|
| + size_t len,
|
| uint8_t* encoded);
|
|
|
| /****************************************************************************
|
| @@ -182,17 +184,17 @@ extern "C" {
|
|
|
| int WebRtcIlbcfix_Decode(IlbcDecoderInstance* iLBCdec_inst,
|
| const uint8_t* encoded,
|
| - int16_t len,
|
| + size_t len,
|
| int16_t* decoded,
|
| int16_t* speechType);
|
| int WebRtcIlbcfix_Decode20Ms(IlbcDecoderInstance* iLBCdec_inst,
|
| const uint8_t* encoded,
|
| - int16_t len,
|
| + size_t len,
|
| int16_t* decoded,
|
| int16_t* speechType);
|
| int WebRtcIlbcfix_Decode30Ms(IlbcDecoderInstance* iLBCdec_inst,
|
| const uint8_t* encoded,
|
| - int16_t len,
|
| + size_t len,
|
| int16_t* decoded,
|
| int16_t* speechType);
|
|
|
| @@ -210,13 +212,12 @@ extern "C" {
|
| * Output:
|
| * - decoded : The "decoded" vector
|
| *
|
| - * Return value : >0 - Samples in decoded PLC vector
|
| - * -1 - Error
|
| + * Return value : Samples in decoded PLC vector
|
| */
|
|
|
| - int16_t WebRtcIlbcfix_DecodePlc(IlbcDecoderInstance *iLBCdec_inst,
|
| - int16_t *decoded,
|
| - int16_t noOfLostFrames);
|
| + size_t WebRtcIlbcfix_DecodePlc(IlbcDecoderInstance *iLBCdec_inst,
|
| + int16_t *decoded,
|
| + size_t noOfLostFrames);
|
|
|
| /****************************************************************************
|
| * WebRtcIlbcfix_NetEqPlc(...)
|
| @@ -232,13 +233,12 @@ extern "C" {
|
| * Output:
|
| * - decoded : The "decoded" vector (nothing in this case)
|
| *
|
| - * Return value : >0 - Samples in decoded PLC vector
|
| - * -1 - Error
|
| + * Return value : Samples in decoded PLC vector
|
| */
|
|
|
| - int16_t WebRtcIlbcfix_NetEqPlc(IlbcDecoderInstance *iLBCdec_inst,
|
| - int16_t *decoded,
|
| - int16_t noOfLostFrames);
|
| + size_t WebRtcIlbcfix_NetEqPlc(IlbcDecoderInstance *iLBCdec_inst,
|
| + int16_t *decoded,
|
| + size_t noOfLostFrames);
|
|
|
| /****************************************************************************
|
| * WebRtcIlbcfix_version(...)
|
|
|