diff options
author | Paul Adenot <[email protected]> | 2023-01-05 16:27:54 +0100 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2023-01-09 17:12:54 +0100 |
commit | c96f0d4e7ff8843b96719c15f40f1b8032bccba8 (patch) | |
tree | 906f23e27081b661ff33b73b25082bc7f3693294 | |
parent | 28e4e20ca1e6619201ecc76c96bbdbb76270582d (diff) | |
download | cubeb-c96f0d4e7ff8843b96719c15f40f1b8032bccba8.tar.gz cubeb-c96f0d4e7ff8843b96719c15f40f1b8032bccba8.zip |
Prefer the AAudio backend over the OpenSL ES backend
The last issues have been fixed, and it's now better (and also uses an
API that isn't deprecated).
-rw-r--r-- | src/cubeb.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cubeb.c b/src/cubeb.c index cf29e12..eca2c63 100644 --- a/src/cubeb.c +++ b/src/cubeb.c @@ -252,14 +252,12 @@ cubeb_init(cubeb ** context, char const * context_name, #if defined(USE_SUN) sun_init, #endif -#if defined(USE_OPENSL) - opensl_init, -#endif - // TODO: should probably be preferred over OpenSLES when available. - // Initialization will fail on old android devices. #if defined(USE_AAUDIO) aaudio_init, #endif +#if defined(USE_OPENSL) + opensl_init, +#endif #if defined(USE_AUDIOTRACK) audiotrack_init, #endif |