Index: webrtc/modules/audio_processing/include/mock_audio_processing.h |
diff --git a/webrtc/modules/audio_processing/include/mock_audio_processing.h b/webrtc/modules/audio_processing/include/mock_audio_processing.h |
index 480d0e34b2c686574ed7301b48be3530def35b5d..8007a86c7fde524aa7f35e6e33ba7036c29a6398 100644 |
--- a/webrtc/modules/audio_processing/include/mock_audio_processing.h |
+++ b/webrtc/modules/audio_processing/include/mock_audio_processing.h |
@@ -186,6 +186,8 @@ class MockAudioProcessing : public AudioProcessing { |
ChannelLayout input_layout, |
ChannelLayout output_layout, |
ChannelLayout reverse_layout)); |
+ MOCK_METHOD1(Initialize, |
+ int(const ProcessingConfig& processing_config)); |
MOCK_METHOD1(SetExtraOptions, |
void(const Config& config)); |
MOCK_METHOD1(set_sample_rate_hz, |
@@ -218,11 +220,18 @@ class MockAudioProcessing : public AudioProcessing { |
int output_sample_rate_hz, |
ChannelLayout output_layout, |
float* const* dest)); |
+ MOCK_METHOD4(ProcessStream, |
+ int(const float* const* src, |
+ const StreamConfig& input_config, |
+ const StreamConfig& output_config, |
+ float* const* dest)); |
MOCK_METHOD1(AnalyzeReverseStream, |
int(AudioFrame* frame)); |
MOCK_METHOD4(AnalyzeReverseStream, |
int(const float* const* data, int frames, int sample_rate_hz, |
ChannelLayout input_layout)); |
+ MOCK_METHOD2(AnalyzeReverseStream, |
+ int(const float* const* data, const StreamConfig& reverse_config)); |
MOCK_METHOD1(set_stream_delay_ms, |
int(int delay)); |
MOCK_CONST_METHOD0(stream_delay_ms, |