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

Unified Diff: webrtc/modules/audio_coding/test/TestRedFec.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/TestRedFec.cc
diff --git a/webrtc/modules/audio_coding/test/TestRedFec.cc b/webrtc/modules/audio_coding/test/TestRedFec.cc
index 4e8b123b78b375b8fd55aa7a6019b8bef0893881..7c252a13d9c31e58e320f559a591ad41fd0df7de 100644
--- a/webrtc/modules/audio_coding/test/TestRedFec.cc
+++ b/webrtc/modules/audio_coding/test/TestRedFec.cc
@@ -13,6 +13,7 @@
#include <assert.h>
#include "webrtc/common_types.h"
+#include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h"
#include "webrtc/modules/audio_coding/test/utility.h"
#include "webrtc/system_wrappers/include/trace.h"
@@ -77,7 +78,8 @@ void TestRedFec::Perform() {
if (!strcmp(myCodecParam.plname, "opus")) {
myCodecParam.channels = 1;
}
- EXPECT_EQ(0, _acmB->RegisterReceiveCodec(myCodecParam));
+ EXPECT_EQ(true, _acmB->RegisterReceiveCodec(myCodecParam.pltype,
+ CodecInstToSdp(myCodecParam)));
}
// Create and connect the channel

Powered by Google App Engine
This is Rietveld 408576698