webrtc/modules/audio_processing
Sam Zackrisson 308bc646e0 Remove one acquisition of capture lock in APM AudioFrame API
This brings the two ProcessStream functions closer in implementation.
Additionally, the error checking that is currently done in the period of not holding the lock seems cheaper than releasing and reacquiring the capture lock.

Bug: webrtc:11235
Change-Id: Ib4afc68afb419fcabbb8cf08a3a2e61d2c12acda
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/163021
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30140}
2020-01-03 10:56:24 +00:00
..
aec3 AEC3: Remove metrics that are not used for analysis 2020-01-02 16:23:43 +00:00
aec_dump Audio Processing Module: add play-out audio device runtime information 2019-11-07 13:33:09 +00:00
aecm Use source_sets in component builds and static_library in release builds. 2019-10-17 21:17:18 +00:00
agc Corrected the aggregation of AGC choices and add fallback solution 2019-11-27 11:57:22 +00:00
agc2 Making the Analog AGC properly support multi-channel 2019-11-22 15:32:55 +00:00
audio_generator (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
echo_detector Format almost everything. 2019-07-08 13:45:15 +00:00
include APM: Move the TransientSuppression activation to the apm_config 2020-01-03 08:48:54 +00:00
legacy_ns Moved the legacy noise suppressor to a separate build target 2019-12-13 15:26:16 +00:00
logging webrtc: Remove semicolons. 2019-02-20 16:02:59 +00:00
ns Reland "Refactoring of the noise suppressor and adding true multichannel support" 2019-10-31 11:56:01 +00:00
test APM: Move the TransientSuppression activation to the apm_config 2020-01-03 08:48:54 +00:00
transient Reland "Refactoring of the noise suppressor and adding true multichannel support" 2019-10-31 11:56:01 +00:00
utility Remove deprecated legacy AEC code 2019-12-09 10:37:49 +00:00
vad Use source_sets in component builds and static_library in release builds. 2019-10-17 21:17:18 +00:00
audio_buffer.cc AGC: Removing unnneccessary copying and changing to using const 2019-11-22 20:14:16 +00:00
audio_buffer.h AGC: Removing unnneccessary copying and changing to using const 2019-11-22 20:14:16 +00:00
audio_buffer_unittest.cc Add ability to disable detailed error message in RTC_CHECKs 2019-11-28 17:51:00 +00:00
audio_frame_view_unittest.cc Reland "Simplification and refactoring of the AudioBuffer code" 2019-08-22 10:34:05 +00:00
audio_processing_impl.cc Remove one acquisition of capture lock in APM AudioFrame API 2020-01-03 10:56:24 +00:00
audio_processing_impl.h APM: Move the TransientSuppression activation to the apm_config 2020-01-03 08:48:54 +00:00
audio_processing_impl_locking_unittest.cc APM: Make the GetStatistics call independent of the locks in APM 2020-01-02 15:45:14 +00:00
audio_processing_impl_unittest.cc Allow extracting the linear AEC output 2019-11-13 11:33:53 +00:00
audio_processing_performance_unittest.cc Remove deprecated legacy AEC code 2019-12-09 10:37:49 +00:00
audio_processing_unittest.cc APM: Make the GetStatistics call independent of the locks in APM 2020-01-02 15:45:14 +00:00
BUILD.gn Moved the legacy noise suppressor to a separate build target 2019-12-13 15:26:16 +00:00
common.h
config_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
debug.proto Audio Processing Module: add play-out audio device runtime information 2019-11-07 13:33:09 +00:00
DEPS
echo_control_mobile_bit_exact_unittest.cc Reland "Simplification and refactoring of the AudioBuffer code" 2019-08-22 10:34:05 +00:00
echo_control_mobile_impl.cc Add multi-channel support to AECM 2019-11-22 17:16:53 +00:00
echo_control_mobile_impl.h Add multi-channel support to AECM 2019-11-22 17:16:53 +00:00
echo_control_mobile_unittest.cc Remove the enable flag from AEC2 and AECM 2019-05-03 14:20:32 +00:00
gain_control_impl.cc DCHECKing for deprecated 8kHz support in AGC and changing fuzzer 2019-11-26 11:10:54 +00:00
gain_control_impl.h Changed the digital AGC1 gain to properly support multichannel 2019-11-23 08:42:59 +00:00
gain_control_unittest.cc Changed the digital AGC1 gain to properly support multichannel 2019-11-23 08:42:59 +00:00
gain_controller2.cc Avoid AGC2 runtime allocation and activate it on demand 2020-01-03 10:47:14 +00:00
gain_controller2.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
gain_controller2_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
high_pass_filter.cc Make the high-pass filter operate in full-band 2019-12-18 16:01:24 +00:00
high_pass_filter.h Make the high-pass filter operate in full-band 2019-12-18 16:01:24 +00:00
high_pass_filter_unittest.cc Make the high-pass filter operate in full-band 2019-12-18 16:01:24 +00:00
level_estimator.cc Remove AudioProcessing::level_estimator() getter 2019-10-11 18:08:17 +00:00
level_estimator.h Remove AudioProcessing::level_estimator() getter 2019-10-11 18:08:17 +00:00
level_estimator_unittest.cc Remove AudioProcessing::level_estimator() getter 2019-10-11 18:08:17 +00:00
OWNERS Adding alessiob@ and minyue@ as owners of APM. 2018-07-02 07:45:31 +00:00
render_queue_item_verifier.h
residual_echo_detector.cc Reland "Simplification and refactoring of the AudioBuffer code" 2019-08-22 10:34:05 +00:00
residual_echo_detector.h Add more parameters to the Initialize function of the echo detector. 2018-03-15 09:21:56 +00:00
residual_echo_detector_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rms_level.cc Removing all external access to the integer sample data in AudioBuffer 2019-08-20 08:36:47 +00:00
rms_level.h Add directive to make webrtc metrics optional. 2019-12-09 13:55:50 +00:00
rms_level_unittest.cc Removing all external access to the integer sample data in AudioBuffer 2019-08-20 08:36:47 +00:00
splitting_filter.cc Reland "Simplification and refactoring of the AudioBuffer code" 2019-08-22 10:34:05 +00:00
splitting_filter.h Reland "Simplification and refactoring of the AudioBuffer code" 2019-08-22 10:34:05 +00:00
splitting_filter_unittest.cc Reland "Simplification and refactoring of the AudioBuffer code" 2019-08-22 10:34:05 +00:00
three_band_filter_bank.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
three_band_filter_bank.h
typing_detection.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
typing_detection.h Reland "Export symbols needed by the Chromium component build (part 1)." 2018-10-11 09:50:21 +00:00
voice_detection.cc Delete voice_detection() pointer to submodule 2019-10-07 13:06:05 +00:00
voice_detection.h Delete voice_detection() pointer to submodule 2019-10-07 13:06:05 +00:00
voice_detection_unittest.cc Delete voice_detection() pointer to submodule 2019-10-07 13:06:05 +00:00