From 2a74704d76c5235d046d6957f9e78ebdc59e0939 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 22 Oct 2014 16:15:49 +0200 Subject: audio/out: include coreaudio_exclusive in auto-probing Move it above ao_null, so that it can be selected during auto-probing (even if it's only last). I see no reason why it should not be included, and it makes the following commit slightly more elegant. (See explanations there.) --- audio/out/ao.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/out/ao.c b/audio/out/ao.c index 0873b18e68..bd83aa3635 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -87,6 +87,9 @@ static const struct ao_driver * const audio_out_drivers[] = { #endif #if HAVE_SNDIO &audio_out_sndio, +#endif +#if HAVE_COREAUDIO + &audio_out_coreaudio_exclusive, #endif &audio_out_null, // should not be auto-selected: @@ -94,9 +97,6 @@ static const struct ao_driver * const audio_out_drivers[] = { #if HAVE_ENCODING &audio_out_lavc, #endif -#if HAVE_COREAUDIO - &audio_out_coreaudio_exclusive, -#endif #if HAVE_RSOUND &audio_out_rsound, #endif -- cgit v1.2.3