Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/interface/isacfix.h

Issue 1319683002: AudioDecoder: Replace Init() with Reset() (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@buffer
Patch Set: review fixes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 168
169 169
170 /**************************************************************************** 170 /****************************************************************************
171 * WebRtcIsacfix_DecoderInit(...) 171 * WebRtcIsacfix_DecoderInit(...)
172 * 172 *
173 * This function initializes an ISAC instance prior to the decoder calls. 173 * This function initializes an ISAC instance prior to the decoder calls.
174 * 174 *
175 * Input: 175 * Input:
176 * - ISAC_main_inst : ISAC instance. 176 * - ISAC_main_inst : ISAC instance.
177 *
178 * Return value
179 * : 0 - Ok
180 * -1 - Error
181 */ 177 */
182 178
183 int16_t WebRtcIsacfix_DecoderInit(ISACFIX_MainStruct *ISAC_main_inst); 179 void WebRtcIsacfix_DecoderInit(ISACFIX_MainStruct* ISAC_main_inst);
184
185 180
186 /**************************************************************************** 181 /****************************************************************************
187 * WebRtcIsacfix_UpdateBwEstimate1(...) 182 * WebRtcIsacfix_UpdateBwEstimate1(...)
188 * 183 *
189 * This function updates the estimate of the bandwidth. 184 * This function updates the estimate of the bandwidth.
190 * 185 *
191 * Input: 186 * Input:
192 * - ISAC_main_inst : ISAC instance. 187 * - ISAC_main_inst : ISAC instance.
193 * - encoded : encoded ISAC frame(s). 188 * - encoded : encoded ISAC frame(s).
194 * - packet_size : size of the packet in bytes. 189 * - packet_size : size of the packet in bytes.
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, 628 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst,
634 const IsacBandwidthInfo* bwinfo); 629 const IsacBandwidthInfo* bwinfo);
635 630
636 #if defined(__cplusplus) 631 #if defined(__cplusplus)
637 } 632 }
638 #endif 633 #endif
639 634
640 635
641 636
642 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ 637 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698