Render-side pre-processing in APM.
This CL adds a way to insert a custom render-side pre-processor to APM. The pre-processor operates in full-band mode before anything else. Currently the render processing chain is (if everything is enabled): Network --> [Pre processing] --> [Band split] --> [IntelligibilityEnhancer] --> [Echo canceller (read-only)] --> [Band merge] --> Playout Since the render pre processor and capture post processor have the same interface, I renamed webrtc::PostProcessing into webrtc::CustomProcessing. The old APM factory method PostProcessing will be deprecated and dependencies updated as part of webrtc:8665 NOTRY=True Bug: webrtc:8665 Change-Id: Ia381cbf12e336d6587406a14d77243d931f69a31 Reviewed-on: https://webrtc-review.googlesource.com/29201 Commit-Queue: Alex Loiko <aleloi@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21327}
This commit is contained in:
@ -105,9 +105,9 @@ class MockNoiseSuppression : public NoiseSuppression {
|
||||
MOCK_METHOD0(NoiseEstimate, std::vector<float>());
|
||||
};
|
||||
|
||||
class MockPostProcessing : public PostProcessing {
|
||||
class MockCustomProcessing : public CustomProcessing {
|
||||
public:
|
||||
virtual ~MockPostProcessing() {}
|
||||
virtual ~MockCustomProcessing() {}
|
||||
MOCK_METHOD2(Initialize, void(int sample_rate_hz, int num_channels));
|
||||
MOCK_METHOD1(Process, void(AudioBuffer* audio));
|
||||
MOCK_CONST_METHOD0(ToString, std::string());
|
||||
|
Reference in New Issue
Block a user