Chromium Code Reviews| Index: webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h |
| diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h b/webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h |
| index d71decc67c8938625fb6a30d200500d71dffcb28..fdbb2fcb0d776355381a95301b3a48e5e6b4cc3d 100644 |
| --- a/webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h |
| +++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h |
| @@ -27,18 +27,18 @@ extern "C" { |
| int WebRtcIsacfix_EstimateBandwidth(BwEstimatorstr* bwest_str, |
| Bitstr_dec* streamdata, |
| - int32_t packet_size, |
| + size_t packet_size, |
| uint16_t rtp_seq_number, |
| uint32_t send_ts, |
| uint32_t arr_ts); |
| int WebRtcIsacfix_DecodeImpl(int16_t* signal_out16, |
| IsacFixDecoderInstance* ISACdec_obj, |
| - int16_t* current_framesamples); |
| + size_t* current_framesamples); |
| void WebRtcIsacfix_DecodePlcImpl(int16_t* decoded, |
| IsacFixDecoderInstance* ISACdec_obj, |
| - int16_t* current_framesample ); |
| + size_t* current_framesample ); |
| int WebRtcIsacfix_EncodeImpl(int16_t* in, |
| IsacFixEncoderInstance* ISACenc_obj, |
| @@ -141,7 +141,7 @@ void WebRtcIsacfix_FilterAndCombine2(int16_t* tempin_ch1, |
| /* normalized lattice filters */ |
| -void WebRtcIsacfix_NormLatticeFilterMa(int16_t orderCoef, |
| +void WebRtcIsacfix_NormLatticeFilterMa(size_t orderCoef, |
|
minyue-webrtc
2015/08/12 16:08:08
not sure if orderCoef is a count of objects
Peter Kasting
2015/08/14 22:32:26
Based on how it's used in these functions, it is;
|
| int32_t* stateGQ15, |
| int16_t* lat_inQ0, |
| int16_t* filt_coefQ15, |
| @@ -149,7 +149,7 @@ void WebRtcIsacfix_NormLatticeFilterMa(int16_t orderCoef, |
| int16_t lo_hi, |
| int16_t* lat_outQ9); |
| -void WebRtcIsacfix_NormLatticeFilterAr(int16_t orderCoef, |
| +void WebRtcIsacfix_NormLatticeFilterAr(size_t orderCoef, |
| int16_t* stateGQ0, |
| int32_t* lat_inQ25, |
| int16_t* filt_coefQ15, |