Index: webrtc/modules/audio_coding/test/delay_test.cc |
diff --git a/webrtc/modules/audio_coding/test/delay_test.cc b/webrtc/modules/audio_coding/test/delay_test.cc |
index 99ec0b82ea267bcad19bb9dc7f655b18b30a351f..9adeca1e5d098c508d25ba1e544b631815ec0724 100644 |
--- a/webrtc/modules/audio_coding/test/delay_test.cc |
+++ b/webrtc/modules/audio_coding/test/delay_test.cc |
@@ -17,6 +17,7 @@ |
#include "gflags/gflags.h" |
#include "webrtc/common_types.h" |
#include "webrtc/modules/audio_coding/acm2/acm_common_defs.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/Channel.h" |
@@ -107,8 +108,9 @@ class DelayTest { |
continue; |
if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) |
continue; |
- ASSERT_EQ(0, acm_b_->RegisterReceiveCodec(my_codec_param)) << |
- "Couldn't register receive codec.\n"; |
+ ASSERT_EQ(true, |
+ acm_b_->RegisterReceiveCodec(my_codec_param.pltype, |
+ CodecInstToSdp(my_codec_param))); |
} |
// Create and connect the channel |