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..429fc6b6bf833cdadaf6fd53e3aab0e262471012 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. */ |
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 |