Remove ProcessingComponent's dependence on AudioProcessingImpl.
- Move needed accessors to AudioProcessing. - Inject the crit directly as a dependency. - Remove the now unneeded EchoCancellationImplWrapper. BUG=2894 R=aluebs@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5620 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -191,6 +191,8 @@ class MockAudioProcessing : public AudioProcessing {
|
||||
int(int rate));
|
||||
MOCK_CONST_METHOD0(sample_rate_hz,
|
||||
int());
|
||||
MOCK_CONST_METHOD0(split_sample_rate_hz,
|
||||
int());
|
||||
MOCK_METHOD2(set_num_channels,
|
||||
int(int input_channels, int output_channels));
|
||||
MOCK_CONST_METHOD0(num_input_channels,
|
||||
@ -213,6 +215,8 @@ class MockAudioProcessing : public AudioProcessing {
|
||||
int(int delay));
|
||||
MOCK_CONST_METHOD0(stream_delay_ms,
|
||||
int());
|
||||
MOCK_CONST_METHOD0(was_stream_delay_set,
|
||||
bool());
|
||||
MOCK_METHOD1(set_stream_key_pressed,
|
||||
void(bool key_pressed));
|
||||
MOCK_CONST_METHOD0(stream_key_pressed,
|
||||
|
||||
Reference in New Issue
Block a user