| 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 15c6f7572f9a6e5a8fedebd2308676b1b166be43..d5e58c147a66c5ccf35f5f435f97e290cc3e4d30 100644
|
| --- a/webrtc/modules/audio_processing/audio_processing_impl.h
|
| +++ b/webrtc/modules/audio_processing/audio_processing_impl.h
|
| @@ -19,6 +19,15 @@
|
| #include "webrtc/base/thread_annotations.h"
|
| #include "webrtc/modules/audio_processing/include/audio_processing.h"
|
|
|
| +#ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP
|
| +// Files generated at build-time by the protobuf compiler.
|
| +#ifdef WEBRTC_ANDROID_PLATFORM_BUILD
|
| +#include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h"
|
| +#else
|
| +#include "webrtc/audio_processing/debug.pb.h"
|
| +#endif
|
| +#endif // WEBRTC_AUDIOPROC_DEBUG_DUMP
|
| +
|
| namespace webrtc {
|
|
|
| class AgcManagerDirect;
|
| @@ -167,9 +176,15 @@ 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();
|
| +
|
| 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_;
|
| #endif
|
|
|
| // Format of processing streams at input/output call sites.
|
|
|