Prevent aaudio backend usage

This commit is contained in:
Billy Laws 2023-03-27 22:14:53 +01:00
parent 9555082763
commit d00fcee79d
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ target_compile_definitions(opus PRIVATE OPUS_WILL_BE_SLOW=1) # libopus will warn
# Cubeb
set(USE_OPENSL ON)
set(USE_SANITIZERS OFF)
set(USE_LAZY_LOAD_LIBS OFF)
set(USE_AAUDIO OFF)
set(BUNDLE_SPEEX ON)
add_subdirectory("libraries/cubeb")
include_directories(SYSTEM "libraries/cubeb/include")