Browse Source

Added a compile error if you try to enable both Oboe and openSL

tags/2021-05-28
jules 6 years ago
parent
commit
1ab38ab874
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      modules/juce_audio_devices/juce_audio_devices.cpp

+ 4
- 0
modules/juce_audio_devices/juce_audio_devices.cpp View File

@@ -166,6 +166,10 @@
#endif #endif
#if JUCE_USE_ANDROID_OBOE #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 <oboe/Oboe.h> #include <oboe/Oboe.h>
#endif #endif


Loading…
Cancel
Save