From f0c449e3ffbf78b2e91c7efd2de167b5c55d5501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85hgren?= Date: Tue, 23 Oct 2018 20:17:18 +0200 Subject: [PATCH] APM: Correct includes required for the data dumping functionality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:5298 Change-Id: Ia8b8e6a308f1812216651efaf0e2249e9d0cbfd8 Reviewed-on: https://webrtc-review.googlesource.com/c/107631 Reviewed-by: Sam Zackrisson Commit-Queue: Per Ã…hgren Cr-Commit-Position: refs/heads/master@{#25327} --- modules/audio_processing/logging/apm_data_dumper.cc | 2 ++ modules/audio_processing/logging/apm_data_dumper.h | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/modules/audio_processing/logging/apm_data_dumper.cc b/modules/audio_processing/logging/apm_data_dumper.cc index d7174c6449..ebb85268f9 100644 --- a/modules/audio_processing/logging/apm_data_dumper.cc +++ b/modules/audio_processing/logging/apm_data_dumper.cc @@ -10,6 +10,8 @@ #include "modules/audio_processing/logging/apm_data_dumper.h" +#include "rtc_base/strings/string_builder.h" + // Check to verify that the define is properly set. #if !defined(WEBRTC_APM_DEBUG_DUMP) || \ (WEBRTC_APM_DEBUG_DUMP != 0 && WEBRTC_APM_DEBUG_DUMP != 1) diff --git a/modules/audio_processing/logging/apm_data_dumper.h b/modules/audio_processing/logging/apm_data_dumper.h index 8a751c6478..10deb35edd 100644 --- a/modules/audio_processing/logging/apm_data_dumper.h +++ b/modules/audio_processing/logging/apm_data_dumper.h @@ -14,7 +14,14 @@ #include #include +#if WEBRTC_APM_DEBUG_DUMP == 1 +#include +#endif + #include "api/array_view.h" +#if WEBRTC_APM_DEBUG_DUMP == 1 +#include "common_audio/wav_file.h" +#endif #include "rtc_base/constructormagic.h" // Check to verify that the define is properly set.