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

Side by Side Diff: webrtc/modules/audio_coding/codecs/ilbc/interface/ilbc.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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 * Input: 152 * Input:
153 * - IlbcDecoderInstance : iLBC decoder instance 153 * - IlbcDecoderInstance : iLBC decoder instance
154 * - frameLen : The frame length of the codec 20/30 (ms) 154 * - frameLen : The frame length of the codec 20/30 (ms)
155 * 155 *
156 * Return value : 0 - Ok 156 * Return value : 0 - Ok
157 * -1 - Error 157 * -1 - Error
158 */ 158 */
159 159
160 int16_t WebRtcIlbcfix_DecoderInit(IlbcDecoderInstance *iLBCdec_inst, 160 int16_t WebRtcIlbcfix_DecoderInit(IlbcDecoderInstance *iLBCdec_inst,
161 int16_t frameLen); 161 int16_t frameLen);
162 int16_t WebRtcIlbcfix_DecoderInit20Ms(IlbcDecoderInstance *iLBCdec_inst); 162 void WebRtcIlbcfix_DecoderInit20Ms(IlbcDecoderInstance* iLBCdec_inst);
163 int16_t WebRtcIlbcfix_Decoderinit30Ms(IlbcDecoderInstance *iLBCdec_inst); 163 void WebRtcIlbcfix_Decoderinit30Ms(IlbcDecoderInstance* iLBCdec_inst);
164 164
165 /**************************************************************************** 165 /****************************************************************************
166 * WebRtcIlbcfix_Decode(...) 166 * WebRtcIlbcfix_Decode(...)
167 * 167 *
168 * This function decodes a packet with iLBC frame(s). Output speech length 168 * This function decodes a packet with iLBC frame(s). Output speech length
169 * will be a multiple of 160 or 240 samples ((160 or 240)*frames/packet). 169 * will be a multiple of 160 or 240 samples ((160 or 240)*frames/packet).
170 * 170 *
171 * Input: 171 * Input:
172 * - iLBCdec_inst : iLBC instance, i.e. the user that should decode 172 * - iLBCdec_inst : iLBC instance, i.e. the user that should decode
173 * a packet 173 * a packet
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 * - version : Version number of iLBC (maximum 20 char) 249 * - version : Version number of iLBC (maximum 20 char)
250 */ 250 */
251 251
252 void WebRtcIlbcfix_version(char *version); 252 void WebRtcIlbcfix_version(char *version);
253 253
254 #ifdef __cplusplus 254 #ifdef __cplusplus
255 } 255 }
256 #endif 256 #endif
257 257
258 #endif 258 #endif
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/ilbc.c ('k') | webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698