Delete voice_detection() pointer to submodule
The new configuration path is via AudioProcessing::ApplyConfig and AudioProcessing::GetStatistics. ApmTest.Process passes with unchanged reference files if audio_processing_impl would initialize the VAD with VoiceDetection::kLowLikelihood instead of kVeryLowLikelihood. This was verified by testing this CL with that modification. Bug: webrtc:9878 Change-Id: I4d08df37a07e5c72feeec02a07d6b9435f917d72 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/155445 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29395}
This commit is contained in:

committed by
Commit Bot

parent
24d251f796
commit
0824c6f61a
@ -595,7 +595,6 @@ void StatsProcessor::Process() {
|
||||
|
||||
// The below return values are not testable.
|
||||
apm_->noise_suppression()->speech_probability();
|
||||
apm_->voice_detection()->is_enabled();
|
||||
|
||||
apm_->GetStatistics(/*has_remote_tracks=*/true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user