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

Unified Diff: webrtc/modules/audio_coding/test/TestAllCodecs.cc

Issue 2388153004: Stop using old AudioCodingModule::RegisterReceiveCodec overloads (Closed)
Patch Set: rebase Created 4 years, 2 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/test/TestAllCodecs.cc
diff --git a/webrtc/modules/audio_coding/test/TestAllCodecs.cc b/webrtc/modules/audio_coding/test/TestAllCodecs.cc
index e5d9784e9cbf571d6575f1dea7ecef3f921edfc0..6753d8e2c7571d1760a5779de0214ed224dc20ab 100644
--- a/webrtc/modules/audio_coding/test/TestAllCodecs.cc
+++ b/webrtc/modules/audio_coding/test/TestAllCodecs.cc
@@ -15,6 +15,7 @@
#include <string>
#include "webrtc/common_types.h"
+#include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h"
#include "webrtc/modules/audio_coding/test/utility.h"
@@ -141,7 +142,8 @@ void TestAllCodecs::Perform() {
if (!strcmp(my_codec_param.plname, "opus")) {
my_codec_param.channels = 1;
}
- acm_b_->RegisterReceiveCodec(my_codec_param);
+ acm_b_->RegisterReceiveCodec(my_codec_param.pltype,
+ CodecInstToSdp(my_codec_param));
}
// Create and connect the channel

Powered by Google App Engine
This is Rietveld 408576698