NetEQ: BackgroundNoise::Update returns true when the filter is updated

Bug: webrtc:10690
Change-Id: I17ff7dc1cffc8c46987d0a9ff8c6633ce9dcc8d3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/144040
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28411}
This commit is contained in:
Alessio Bazzica
2019-06-28 10:49:39 +02:00
committed by Commit Bot
parent 825aad13dc
commit 60bfb3d4e3
2 changed files with 27 additions and 23 deletions

View File

@ -37,7 +37,8 @@ class BackgroundNoise {
// Updates the parameter estimates based on the signal currently in the
// |sync_buffer|, and on the latest decision in |vad| if it is running.
void Update(const AudioMultiVector& sync_buffer, const PostDecodeVad& vad);
// Returns true if the filter parameters are updated.
bool Update(const AudioMultiVector& sync_buffer, const PostDecodeVad& vad);
// Generates background noise given a random vector and writes the output to
// |buffer|.