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

Unified Diff: webrtc/modules/utility/source/coder.cc

Issue 1365283002: Remove AMR format parameter from AudioCoder in utility (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@acm-cleanup-typedefs.h
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/utility/source/coder.h ('k') | webrtc/modules/utility/source/file_player_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/source/coder.cc
diff --git a/webrtc/modules/utility/source/coder.cc b/webrtc/modules/utility/source/coder.cc
index 1baeaef7214997e079ab9938076f29c498ffb6c0..4ec5f9b4e278529cd81b5abd87cabb95d3aa5139 100644
--- a/webrtc/modules/utility/source/coder.cc
+++ b/webrtc/modules/utility/source/coder.cc
@@ -29,8 +29,7 @@ AudioCoder::~AudioCoder()
{
}
-int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst,
- ACMAMRPackingFormat amrFormat)
+int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst)
{
if(_acm->RegisterSendCodec((CodecInst&)codecInst) == -1)
{
@@ -39,8 +38,7 @@ int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst,
return 0;
}
-int32_t AudioCoder::SetDecodeCodec(const CodecInst& codecInst,
- ACMAMRPackingFormat amrFormat)
+int32_t AudioCoder::SetDecodeCodec(const CodecInst& codecInst)
{
if(_acm->RegisterReceiveCodec((CodecInst&)codecInst) == -1)
{
« no previous file with comments | « webrtc/modules/utility/source/coder.h ('k') | webrtc/modules/utility/source/file_player_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698