From 1ab38ab874c314a4df45bfbdea1ca10c6b2e0ffd Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 6 Nov 2018 11:58:11 +0000 Subject: [PATCH] Added a compile error if you try to enable both Oboe and openSL --- modules/juce_audio_devices/juce_audio_devices.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/juce_audio_devices/juce_audio_devices.cpp b/modules/juce_audio_devices/juce_audio_devices.cpp index b2ec91af2a..11636db0b7 100644 --- a/modules/juce_audio_devices/juce_audio_devices.cpp +++ b/modules/juce_audio_devices/juce_audio_devices.cpp @@ -166,6 +166,10 @@ #endif #if JUCE_USE_ANDROID_OBOE + #if JUCE_USE_ANDROID_OPENSLES + #error "Oboe cannot be enabled at the same time as openSL! Please disable JUCE_USE_ANDROID_OPENSLES" + #endif + #include #endif