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

Unified Diff: webrtc/modules/audio_processing/audio_processing_impl.cc

Issue 1886233003: Added a protobuf field for the audio processing module to store the status of experiments (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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/audio_processing_impl.cc
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc
index a65598c3e444e1685dcde0a79e386981fb39b43c..81189d5882aad231fe581403b1e1bf829f85c8aa 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -1439,6 +1439,13 @@ int AudioProcessingImpl::WriteConfigMessage(bool forced) {
config.set_transient_suppression_enabled(
capture_.transient_suppressor_enabled);
+ std::string experiments_description = "";
+ experiments_description +=
hlundin-webrtc 2016/04/14 07:50:07 You don't have to define the string empty first, a
peah-webrtc 2016/04/14 11:11:06 Done.
+ public_submodules_->echo_cancellation->GetExperimentsDescription();
+ // TODO(peah): Add semicolon separated concatenations of experiment
hlundin-webrtc 2016/04/14 07:50:07 Language nit: "semicolon-separated" (with a hyphen
peah-webrtc 2016/04/14 11:11:06 Done.
+ // descriptions for other submodules.
+ config.set_experiments_description(experiments_description);
+
std::string serialized_config = config.SerializeAsString();
if (!forced &&
debug_dump_.capture.last_serialized_config == serialized_config) {
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/debug.proto » ('j') | webrtc/modules/audio_processing/debug.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698