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

Unified 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: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h
diff --git a/webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h b/webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h
index fa4a48c2975ac85808c6696b1a244bac554c591f..e3133d6cf7050ff3e5362afb5c1f38c37da56656 100644
--- a/webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h
+++ b/webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h
@@ -113,22 +113,16 @@ size_t WebRtcG722_Encode(G722EncInst* G722enc_inst,
*/
int16_t WebRtcG722_CreateDecoder(G722DecInst **G722dec_inst);
-
/****************************************************************************
* WebRtcG722_DecoderInit(...)
*
- * This function initializes a G729 instance
+ * This function initializes a G722 instance
hlundin-webrtc 2015/08/26 13:07:23 Haha! Did you search-and-replace the file for more
kwiberg-webrtc 2015/08/26 18:54:37 No. There's one left in another comment, but I dec
*
* Input:
- * - G729_decinst_t : G729 instance, i.e. the user that should receive
- * be initialized
- *
- * Return value : 0 - Ok
- * -1 - Error
+ * - inst : G722 instance
*/
-int16_t WebRtcG722_DecoderInit(G722DecInst *G722dec_inst);
-
+void WebRtcG722_DecoderInit(G722DecInst* inst);
/****************************************************************************
* WebRtcG722_FreeDecoder(...)

Powered by Google App Engine
This is Rietveld 408576698