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

Side by Side Diff: webrtc/modules/audio_coding/codecs/g722/include/g722_interface.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 * Create memory used for G722 encoder 106 * Create memory used for G722 encoder
107 * 107 *
108 * Input: 108 * Input:
109 * - G722dec_inst : G722 instance for decoder 109 * - G722dec_inst : G722 instance for decoder
110 * 110 *
111 * Return value : 0 - Ok 111 * Return value : 0 - Ok
112 * -1 - Error 112 * -1 - Error
113 */ 113 */
114 int16_t WebRtcG722_CreateDecoder(G722DecInst **G722dec_inst); 114 int16_t WebRtcG722_CreateDecoder(G722DecInst **G722dec_inst);
115 115
116
117 /**************************************************************************** 116 /****************************************************************************
118 * WebRtcG722_DecoderInit(...) 117 * WebRtcG722_DecoderInit(...)
119 * 118 *
120 * This function initializes a G729 instance 119 * This function initializes a G722 instance
121 * 120 *
122 * Input: 121 * Input:
123 * - G729_decinst_t : G729 instance, i.e. the user that should receive 122 * - inst : G722 instance
124 * be initialized
125 *
126 * Return value : 0 - Ok
127 * -1 - Error
128 */ 123 */
129 124
130 int16_t WebRtcG722_DecoderInit(G722DecInst *G722dec_inst); 125 void WebRtcG722_DecoderInit(G722DecInst* inst);
131
132 126
133 /**************************************************************************** 127 /****************************************************************************
134 * WebRtcG722_FreeDecoder(...) 128 * WebRtcG722_FreeDecoder(...)
135 * 129 *
136 * Free the memory used for G722 decoder 130 * Free the memory used for G722 decoder
137 * 131 *
138 * Input: 132 * Input:
139 * - G722dec_inst : G722 instance for decoder 133 * - G722dec_inst : G722 instance for decoder
140 * 134 *
141 * Return value : 0 - Ok 135 * Return value : 0 - Ok
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 173
180 int16_t WebRtcG722_Version(char *versionStr, short len); 174 int16_t WebRtcG722_Version(char *versionStr, short len);
181 175
182 176
183 #ifdef __cplusplus 177 #ifdef __cplusplus
184 } 178 }
185 #endif 179 #endif
186 180
187 181
188 #endif /* MODULES_AUDIO_CODING_CODECS_G722_MAIN_INTERFACE_G722_INTERFACE_H_ */ 182 #endif /* MODULES_AUDIO_CODING_CODECS_G722_MAIN_INTERFACE_G722_INTERFACE_H_ */
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/codecs/g722/g722_interface.c ('k') | webrtc/modules/audio_coding/codecs/ilbc/ilbc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698