Index: webrtc/modules/audio_processing/audio_processing_unittest.cc |
diff --git a/webrtc/modules/audio_processing/audio_processing_unittest.cc b/webrtc/modules/audio_processing/audio_processing_unittest.cc |
index b52acce230c4d980feb25d8aa89a6f3092b619d1..8c4825510aaf932c3849fe3d67ef20abc942e216 100644 |
--- a/webrtc/modules/audio_processing/audio_processing_unittest.cc |
+++ b/webrtc/modules/audio_processing/audio_processing_unittest.cc |
@@ -1733,8 +1733,8 @@ void ApmTest::ProcessDebugDump(const std::string& in_filename, |
if (first_init) { |
// StartDebugRecording() writes an additional init message. Don't start |
// recording until after the first init to avoid the extra message. |
- EXPECT_NOERR( |
- apm_->StartDebugRecording(out_filename.c_str(), max_size_bytes)); |
+ EXPECT_NOERR(apm_->StartDebugRecording(out_filename.c_str(), |
+ max_size_bytes, nullptr)); |
first_init = false; |
} |
@@ -1872,14 +1872,16 @@ TEST_F(ApmTest, VerifyDebugDumpFloat) { |
TEST_F(ApmTest, DebugDump) { |
const std::string filename = |
test::TempFilename(test::OutputPath(), "debug_aec"); |
- EXPECT_EQ(apm_->kNullPointerError, |
- apm_->StartDebugRecording(static_cast<const char*>(NULL), -1)); |
+ EXPECT_EQ( |
+ apm_->kNullPointerError, |
+ apm_->StartDebugRecording(static_cast<const char*>(NULL), -1, nullptr)); |
#ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP |
// Stopping without having started should be OK. |
EXPECT_EQ(apm_->kNoError, apm_->StopDebugRecording()); |
- EXPECT_EQ(apm_->kNoError, apm_->StartDebugRecording(filename.c_str(), -1)); |
+ EXPECT_EQ(apm_->kNoError, |
+ apm_->StartDebugRecording(filename.c_str(), -1, nullptr)); |
EXPECT_EQ(apm_->kNoError, apm_->ProcessStream(frame_)); |
EXPECT_EQ(apm_->kNoError, apm_->ProcessReverseStream(revframe_)); |
EXPECT_EQ(apm_->kNoError, apm_->StopDebugRecording()); |
@@ -1904,7 +1906,8 @@ TEST_F(ApmTest, DebugDump) { |
// TODO(andrew): expand test to verify output. |
TEST_F(ApmTest, DebugDumpFromFileHandle) { |
FILE* fid = NULL; |
- EXPECT_EQ(apm_->kNullPointerError, apm_->StartDebugRecording(fid, -1)); |
+ EXPECT_EQ(apm_->kNullPointerError, |
+ apm_->StartDebugRecording(fid, -1, nullptr)); |
const std::string filename = |
test::TempFilename(test::OutputPath(), "debug_aec"); |
fid = fopen(filename.c_str(), "w"); |
@@ -1914,7 +1917,7 @@ TEST_F(ApmTest, DebugDumpFromFileHandle) { |
// Stopping without having started should be OK. |
EXPECT_EQ(apm_->kNoError, apm_->StopDebugRecording()); |
- EXPECT_EQ(apm_->kNoError, apm_->StartDebugRecording(fid, -1)); |
+ EXPECT_EQ(apm_->kNoError, apm_->StartDebugRecording(fid, -1, nullptr)); |
EXPECT_EQ(apm_->kNoError, apm_->ProcessReverseStream(revframe_)); |
EXPECT_EQ(apm_->kNoError, apm_->ProcessStream(frame_)); |
EXPECT_EQ(apm_->kNoError, apm_->StopDebugRecording()); |