aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/cubeb.c8
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