Adding initial support for lock-less informing of muting
This CL adds the initial support for letting APM know when its output will be used or not. It also adds a new method for passing RuntimeInformation to APM that returns a bool indicating the success of the passing of information. Bug: b/177830919 Change-Id: Ic2e1b92c37241d74ca6394b785b91736ca7532aa Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/206061 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33201}
This commit is contained in:
@ -96,6 +96,7 @@ class MockAudioProcessing : public AudioProcessing {
|
||||
MOCK_METHOD(size_t, num_reverse_channels, (), (const, override));
|
||||
MOCK_METHOD(void, set_output_will_be_muted, (bool muted), (override));
|
||||
MOCK_METHOD(void, SetRuntimeSetting, (RuntimeSetting setting), (override));
|
||||
MOCK_METHOD(bool, PostRuntimeSetting, (RuntimeSetting setting), (override));
|
||||
MOCK_METHOD(int,
|
||||
ProcessStream,
|
||||
(const int16_t* const src,
|
||||
|
||||
Reference in New Issue
Block a user