Index: webrtc/modules/audio_processing/logging/apm_data_dumper.cc |
diff --git a/webrtc/modules/audio_processing/logging/apm_data_dumper.cc b/webrtc/modules/audio_processing/logging/apm_data_dumper.cc |
index 491196e09729804af564af859146fdb08c9a1fe3..3202006d3c5e498413768d4d2a31069f2808d921 100644 |
--- a/webrtc/modules/audio_processing/logging/apm_data_dumper.cc |
+++ b/webrtc/modules/audio_processing/logging/apm_data_dumper.cc |
@@ -38,6 +38,15 @@ std::string FormFileName(const char* name, |
} // namespace |
#if WEBRTC_AEC_DEBUG_DUMP == 1 |
+ApmDataDumper::ApmDataDumper(int instance_index) |
+ : instance_index_(instance_index) {} |
+#else |
+ApmDataDumper::ApmDataDumper(int instance_index) {} |
+#endif |
+ |
+ApmDataDumper::~ApmDataDumper() {} |
+ |
+#if WEBRTC_AEC_DEBUG_DUMP == 1 |
FILE* ApmDataDumper::GetRawFile(const char* name) { |
std::string filename = |
FormFileName(name, instance_index_, recording_set_index_, ".dat"); |