Added EnableVad() and DisableVad() default implementations

Bug: webrtc:15806
Change-Id: I3870029ef788ed44b19484a2413c3b3473d3a1a5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/338440
Reviewed-by: Jakob Ivarsson‎ <jakobi@webrtc.org>
Commit-Queue: Tomas Lundqvist <tomasl@google.com>
Cr-Commit-Position: refs/heads/main@{#41685}
This commit is contained in:
Tomas Lundqvist 2024-02-07 09:16:36 +00:00 committed by WebRTC LUCI CQ
parent 4eb72a0867
commit 2425c8ddea

View File

@ -280,10 +280,10 @@ class NetEq {
// Enables post-decode VAD. When enabled, GetAudio() will return // Enables post-decode VAD. When enabled, GetAudio() will return
// kOutputVADPassive when the signal contains no speech. // kOutputVADPassive when the signal contains no speech.
virtual void EnableVad() = 0; virtual void EnableVad() {}
// Disables post-decode VAD. // Disables post-decode VAD.
virtual void DisableVad() = 0; virtual void DisableVad() {}
// Returns the RTP timestamp for the last sample delivered by GetAudio(). // Returns the RTP timestamp for the last sample delivered by GetAudio().
// The return value will be empty if no valid timestamp is available. // The return value will be empty if no valid timestamp is available.