Update some audio processing tests to new VAD API
This updates some tests to use AudioProcesing::Config() and AudioProcessing::GetStatistics() instead. Some tests are left with voice_detection() because a) not all tests make sense to run both APIs in parallel, and b) we want test coverage of the old VoiceDetection until it is removed. Bug: webrtc:9947 Change-Id: Ifb21a1e6e931d7ad3c3a4e38f5cc4f146da3c9a3 Reviewed-on: https://webrtc-review.googlesource.com/c/116160 Reviewed-by: Alex Loiko <aleloi@webrtc.org> Commit-Queue: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26134}
This commit is contained in:
committed by
Commit Bot
parent
ff98f4b1d8
commit
6c330ab63f
@ -590,6 +590,8 @@ bool StatsProcessor::Process() {
|
||||
apm_->noise_suppression()->speech_probability();
|
||||
apm_->voice_detection()->is_enabled();
|
||||
|
||||
apm_->GetStatistics(/*has_remote_tracks=*/true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user