From 653bfba23b7a0c82c3da08c562d422cbe6b36448 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Wed, 15 Mar 2023 22:02:52 +0000 Subject: [PATCH] Use OpenSL over AAudio AAudio lacks support for multiple streams on some devices, whereas OpenSL doesn't. --- app/CMakeLists.txt | 2 +- app/libraries/audio-core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index e5e2e782..5bbd5c33 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -92,7 +92,7 @@ add_subdirectory("libraries/opus") target_compile_definitions(opus PRIVATE OPUS_WILL_BE_SLOW=1) # libopus will warn when built without optimizations # Cubeb -set(USE_AAUDIO ON) +set(USE_OPENSL ON) set(USE_SANITIZERS OFF) set(BUNDLE_SPEEX ON) add_subdirectory("libraries/cubeb") diff --git a/app/libraries/audio-core b/app/libraries/audio-core index 645cb10f..bbf2b224 160000 --- a/app/libraries/audio-core +++ b/app/libraries/audio-core @@ -1 +1 @@ -Subproject commit 645cb10fb1e73a0bdfc0d3693087201845f8195c +Subproject commit bbf2b224ef7e8f6dde71c8137ca8aca6f14d626c