OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 uint8_t* encoded); | 150 uint8_t* encoded); |
151 | 151 |
152 | 152 |
153 /*****************************************************************************
* | 153 /*****************************************************************************
* |
154 * WebRtcIsac_DecoderInit(...) | 154 * WebRtcIsac_DecoderInit(...) |
155 * | 155 * |
156 * This function initializes an ISAC instance prior to the decoder calls. | 156 * This function initializes an ISAC instance prior to the decoder calls. |
157 * | 157 * |
158 * Input: | 158 * Input: |
159 * - ISAC_main_inst : ISAC instance. | 159 * - ISAC_main_inst : ISAC instance. |
160 * | |
161 * Return value | |
162 * : 0 - Ok | |
163 * -1 - Error | |
164 */ | 160 */ |
165 | 161 |
166 int16_t WebRtcIsac_DecoderInit( | 162 void WebRtcIsac_DecoderInit(ISACStruct* ISAC_main_inst); |
167 ISACStruct* ISAC_main_inst); | |
168 | |
169 | 163 |
170 /*****************************************************************************
* | 164 /*****************************************************************************
* |
171 * WebRtcIsac_UpdateBwEstimate(...) | 165 * WebRtcIsac_UpdateBwEstimate(...) |
172 * | 166 * |
173 * This function updates the estimate of the bandwidth. | 167 * This function updates the estimate of the bandwidth. |
174 * | 168 * |
175 * Input: | 169 * Input: |
176 * - ISAC_main_inst : ISAC instance. | 170 * - ISAC_main_inst : ISAC instance. |
177 * - encoded : encoded ISAC frame(s). | 171 * - encoded : encoded ISAC frame(s). |
178 * - packet_size : size of the packet. | 172 * - packet_size : size of the packet. |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 encoder is using, for bandwidth estimation purposes. */ | 715 encoder is using, for bandwidth estimation purposes. */ |
722 void WebRtcIsac_SetEncSampRateInDecoder(ISACStruct* inst, int sample_rate_hz); | 716 void WebRtcIsac_SetEncSampRateInDecoder(ISACStruct* inst, int sample_rate_hz); |
723 | 717 |
724 #if defined(__cplusplus) | 718 #if defined(__cplusplus) |
725 } | 719 } |
726 #endif | 720 #endif |
727 | 721 |
728 | 722 |
729 | 723 |
730 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INTERFACE_ISAC_H_ */ | 724 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INTERFACE_ISAC_H_ */ |
OLD | NEW |