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

Unified Diff: webrtc/modules/audio_processing/include/audio_processing.h

Issue 2254973003: Added functionality for specifying the initial signal level to use for the gain estimation in the l… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removing the usage of the API for setting the levelcontroller initial level until clarity has been … Created 4 years, 4 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_processing/include/audio_processing.h
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h
index 06bfc9ba7f9d8531044105ea4ddd3790cbf90a31..a1b5fb0eaf4855425c2097f5d0e6a6d124881329 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -419,6 +419,10 @@ class AudioProcessing {
// with this chunk of audio.
virtual void set_stream_key_pressed(bool key_pressed) = 0;
+ // Sets the initial peak level to use inside the level controller in order
+ // to compute the signal gain.
henrika_webrtc 2016/08/22 11:36:14 Any specific range supported?
peah-webrtc 2016/08/23 05:33:44 Yes, excellent point! I added that now.
+ virtual void SetLevelControllerInitialLevel(float level) = 0;
+
// Sets a delay |offset| in ms to add to the values passed in through
// set_stream_delay_ms(). May be positive or negative.
//

Powered by Google App Engine
This is Rietveld 408576698