Guard the android aaudio headers include with the aaudio preprocessor

Bug: webrtc:9365
Change-Id: Iba7ea24abb1b4d617a61079b3ec2ed2a3148c865
Reviewed-on: https://webrtc-review.googlesource.com/81341
Commit-Queue: Jiawei Ou <ouj@fb.com>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23539}
This commit is contained in:
Jiawei Ou
2018-06-05 15:26:24 -07:00
committed by Commit Bot
parent ed51a6e665
commit e266c80ce3

View File

@ -17,8 +17,11 @@
#include "rtc_base/ptr_util.h"
#include "rtc_base/refcount.h"
#include "rtc_base/refcountedobject.h"
#if defined(AUDIO_DEVICE_INCLUDE_ANDROID_AAUDIO)
#include "sdk/android/src/jni/audio_device/aaudio_player.h"
#include "sdk/android/src/jni/audio_device/aaudio_recorder.h"
#endif
#include "sdk/android/src/jni/audio_device/audio_record_jni.h"
#include "sdk/android/src/jni/audio_device/audio_track_jni.h"