Removing the intelligibility enhancer.
The intelligibility enhancer is always disabled and it is the only non-test target using the lapped transform in common_audio (which we planned to remove). Bug: webrtc:9689, webrtc:5298 Change-Id: Ida65d3aa11ac366471e7e5cbc053108b376c67d8 Reviewed-on: https://webrtc-review.googlesource.com/96460 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Alex Loiko <aleloi@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24504}
This commit is contained in:
committed by
Commit Bot
parent
fc173d00ec
commit
cc22f51988
@ -183,7 +183,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
bool mobile_echo_controller_enabled,
|
||||
bool residual_echo_detector_enabled,
|
||||
bool noise_suppressor_enabled,
|
||||
bool intelligibility_enhancer_enabled,
|
||||
bool adaptive_gain_controller_enabled,
|
||||
bool gain_controller2_enabled,
|
||||
bool pre_amplifier_enabled,
|
||||
@ -208,7 +207,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
bool mobile_echo_controller_enabled_ = false;
|
||||
bool residual_echo_detector_enabled_ = false;
|
||||
bool noise_suppressor_enabled_ = false;
|
||||
bool intelligibility_enhancer_enabled_ = false;
|
||||
bool adaptive_gain_controller_enabled_ = false;
|
||||
bool gain_controller2_enabled_ = false;
|
||||
bool pre_amplifier_enabled_ = false;
|
||||
@ -245,8 +243,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
// acquired.
|
||||
void InitializeTransient()
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_render_, crit_capture_);
|
||||
void InitializeIntelligibility()
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_render_, crit_capture_);
|
||||
int InitializeLocked(const ProcessingConfig& config)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_render_, crit_capture_);
|
||||
void InitializeResidualEchoDetector()
|
||||
@ -399,18 +395,16 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
} capture_ RTC_GUARDED_BY(crit_capture_);
|
||||
|
||||
struct ApmCaptureNonLockedState {
|
||||
ApmCaptureNonLockedState(bool intelligibility_enabled)
|
||||
ApmCaptureNonLockedState()
|
||||
: capture_processing_format(kSampleRate16kHz),
|
||||
split_rate(kSampleRate16kHz),
|
||||
stream_delay_ms(0),
|
||||
intelligibility_enabled(intelligibility_enabled) {}
|
||||
stream_delay_ms(0) {}
|
||||
// Only the rate and samples fields of capture_processing_format_ are used
|
||||
// because the forward processing number of channels is mutable and is
|
||||
// tracked by the capture_audio_.
|
||||
StreamConfig capture_processing_format;
|
||||
int split_rate;
|
||||
int stream_delay_ms;
|
||||
bool intelligibility_enabled;
|
||||
bool echo_controller_enabled = false;
|
||||
} capture_nonlocked_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user