Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: webrtc/modules/audio_coding/neteq/expand.h

Issue 1967473004: NetEq: Implement Expand::Muted (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/expand.h
diff --git a/webrtc/modules/audio_coding/neteq/expand.h b/webrtc/modules/audio_coding/neteq/expand.h
index 44ced0ab6c21e34c2fa502a81f01402cdcfb2a7a..0feba3693a137af4a7bbaffbd6248c3d9ff72728 100644
--- a/webrtc/modules/audio_coding/neteq/expand.h
+++ b/webrtc/modules/audio_coding/neteq/expand.h
@@ -62,6 +62,10 @@ class Expand {
return channel_parameters_[channel].mute_factor;
}
+ // Returns true if expansion has been faded down to zero amplitude (for all
+ // channels); false otherwise.
+ bool Muted() const;
+
// Accessors and mutators.
virtual size_t overlap_length() const;
size_t max_lag() const { return max_lag_; }
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/expand.cc » ('j') | webrtc/modules/audio_coding/neteq/expand_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698