Index: webrtc/modules/audio_processing/test/audio_processing_unittest.cc |
diff --git a/webrtc/modules/audio_processing/test/audio_processing_unittest.cc b/webrtc/modules/audio_processing/test/audio_processing_unittest.cc |
index 3030182676a262ee03a3258829849c47cbe41c21..00b669d9071c86e3a59a2b0c4efe3137d05a8330 100644 |
--- a/webrtc/modules/audio_processing/test/audio_processing_unittest.cc |
+++ b/webrtc/modules/audio_processing/test/audio_processing_unittest.cc |
@@ -340,9 +340,9 @@ class ApmTest : public ::testing::Test { |
void Init(int sample_rate_hz, |
int output_sample_rate_hz, |
int reverse_sample_rate_hz, |
- int num_reverse_channels, |
int num_input_channels, |
int num_output_channels, |
+ int num_reverse_channels, |
bool open_output_file); |
void Init(AudioProcessing* ap); |
void EnableAllComponents(); |
@@ -458,6 +458,7 @@ void ApmTest::Init(AudioProcessing* ap) { |
ap->Initialize( |
{{{frame_->sample_rate_hz_, frame_->num_channels_}, |
{output_sample_rate_hz_, num_output_channels_}, |
+ {revframe_->sample_rate_hz_, revframe_->num_channels_}, |
{revframe_->sample_rate_hz_, revframe_->num_channels_}}})); |
} |
@@ -823,9 +824,11 @@ void ApmTest::TestChangingReverseChannels( |
{ output_sample_rate_hz_, apm_->num_output_channels() }, |
{ frame_->sample_rate_hz_, num_rev_channels }}}; |
- EXPECT_EQ(expected_return, |
- apm_->AnalyzeReverseStream(float_cb_->channels(), |
- processing_config.reverse_stream())); |
+ EXPECT_EQ( |
+ expected_return, |
+ apm_->ProcessReverseStream( |
+ float_cb_->channels(), processing_config.reverse_input_stream(), |
+ processing_config.reverse_output_stream(), float_cb_->channels())); |
} |
TEST_F(ApmTest, ChannelsInt16Interface) { |