Chromium Code Reviews| Index: webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h |
| diff --git a/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h b/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h |
| index 1fe11bcef03c45915b73f4d5f0d4285378e2f4c4..cdc491f361854ae56934b29d1cf420df45bd54e9 100644 |
| --- a/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h |
| +++ b/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h |
| @@ -269,6 +269,8 @@ extern "C" { |
| int32_t rate, |
| int framesize); |
| + void WebRtcIsac_SetInitialBweBottleneck(ISACStruct* ISAC_main_inst, |
| + int bottleneck_bits_per_second); |
| /****************************************************************************** |
| * WebRtcIsac_ControlBwe(...) |
| @@ -706,13 +708,18 @@ extern "C" { |
| int16_t* decoded, |
| int16_t* speechType); |
| - /* Fills in an IsacBandwidthInfo struct. */ |
| + /* Fills in an IsacBandwidthInfo struct. inst should be a decoder. */ |
|
Jelena
2015/07/10 05:18:46
maybe:
|inst| instead of inst. I have seen it used
kwiberg-webrtc
2015/07/15 00:24:49
Done.
|
| void WebRtcIsac_GetBandwidthInfo(ISACStruct* inst, IsacBandwidthInfo* bwinfo); |
| - /* Uses the values from an IsacBandwidthInfo struct. */ |
| + /* Uses the values from an IsacBandwidthInfo struct. inst should be an |
| + encoder. */ |
| void WebRtcIsac_SetBandwidthInfo(ISACStruct* inst, |
| const IsacBandwidthInfo* bwinfo); |
| + /* If inst is a decoder but not an encoder: tell it what sample rate the |
| + encoder is using, for bandwidth estimation purposes. */ |
| + void WebRtcIsac_SetEncSampRateInDecoder(ISACStruct* inst, int sample_rate_hz); |
| + |
| #if defined(__cplusplus) |
| } |
| #endif |