Index: webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc |
diff --git a/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc b/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc |
index 1045e7e2d0fbd111f4c6c8c341a852290e78500f..7587cd7071469a975bd1561ebcc71c52663e6cee 100644 |
--- a/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc |
+++ b/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc |
@@ -865,6 +865,7 @@ class AcmReceiverBitExactnessOldApi : public ::testing::Test { |
AudioDecoder* external_decoder; |
int sample_rate_hz; |
int num_channels; |
+ std::string name; |
}; |
void Run(int output_freq_hz, |
@@ -900,7 +901,7 @@ class AcmReceiverBitExactnessOldApi : public ::testing::Test { |
for (const auto& ed : external_decoders) { |
ASSERT_EQ(0, test.RegisterExternalReceiveCodec( |
ed.rtp_payload_type, ed.external_decoder, |
- ed.sample_rate_hz, ed.num_channels)); |
+ ed.sample_rate_hz, ed.num_channels, ed.name)); |
} |
test.Run(); |
@@ -1000,6 +1001,7 @@ TEST_F(AcmReceiverBitExactnessOldApi, |
ed.external_decoder = &mock_decoder; |
ed.sample_rate_hz = 8000; |
ed.num_channels = 1; |
+ ed.name = "MockPCMU"; |
std::vector<ExternalDecoder> external_decoders; |
external_decoders.push_back(ed); |