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

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

Issue 1384653002: Compare serialized Configs. Base URL: https://chromium.googlesource.com/external/webrtc.git@apmconfig
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/audio_processing_impl.h
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h
index d5e58c147a66c5ccf35f5f435f97e290cc3e4d30..64f139a4bba7f842a77e1ca7cd85b81c38db4508 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.h
+++ b/webrtc/modules/audio_processing/audio_processing_impl.h
@@ -176,15 +176,13 @@ class AudioProcessingImpl : public AudioProcessing {
// out into a separate class with an "enabled" and "disabled" implementation.
int WriteMessageToDebugFile();
int WriteInitMessage();
- int WriteConfigMessage();
-
- // Updates |config_| and returns true if any change is made.
- bool UpdateCurrentConfig();
+ int WriteConfigMessageIfChanged();
rtc::scoped_ptr<FileWrapper> debug_file_;
rtc::scoped_ptr<audioproc::Event> event_msg_; // Protobuf message.
std::string event_str_; // Memory for protobuf serialization.
rtc::scoped_ptr<audioproc::Config> config_;
+ std::string last_serialized_config_;
#endif
// Format of processing streams at input/output call sites.
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698