commit | 0ade98316c212a84fc94679fda32c324fe23cfef | [log] [tgz] |
---|---|---|
author | Per Åhgren <peah@webrtc.org> | Tue Sep 01 23:57:20 2020 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 02 20:28:49 2020 +0000 |
tree | 4cf604954c28706f5152542a0976edb2490a0d7e | |
parent | 444c13c078a7e9bb2174419e12113e39929551d8 [diff] [blame] |
Cleanup of the APM creation This CL removes the possibility that APM cannot be created, i.e., that the create method can return nullptr. That was already the case implicitly but this CL makes that behavior explicit. Bug: webrtc:5298 Change-Id: I2706ea538c9d1b4bcd65faecab637640a209a4dc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/183101 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32029}
diff --git a/modules/audio_processing/audio_processing_impl.h b/modules/audio_processing/audio_processing_impl.h index dfd5f63..ac411b4 100644 --- a/modules/audio_processing/audio_processing_impl.h +++ b/modules/audio_processing/audio_processing_impl.h
@@ -140,7 +140,7 @@ protected: // Overridden in a mock. - virtual int InitializeLocked() + virtual void InitializeLocked() RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_render_, mutex_capture_); private: