APM: Correct includes required for the data dumping functionality

Bug: webrtc:5298
Change-Id: Ia8b8e6a308f1812216651efaf0e2249e9d0cbfd8
Reviewed-on: https://webrtc-review.googlesource.com/c/107631
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25327}
This commit is contained in:
Per Åhgren 2018-10-23 20:17:18 +02:00 committed by Commit Bot
parent 700b4a4e65
commit f0c449e3ff
2 changed files with 9 additions and 0 deletions

View File

@ -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)

View File

@ -14,7 +14,14 @@
#include <stdint.h>
#include <stdio.h>
#if WEBRTC_APM_DEBUG_DUMP == 1
#include <unordered_map>
#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.