summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-22 16:15:49 +0200
committerwm4 <wm4@nowhere>2014-10-22 16:15:49 +0200
commit2a74704d76c5235d046d6957f9e78ebdc59e0939 (patch)
tree91853b72a72be253cced66c5c25c904cce70033a
parentbe950351d93202097e869d64a0b1d0e4fd91bd34 (diff)
downloadmpv-2a74704d76c5235d046d6957f9e78ebdc59e0939.tar.bz2
mpv-2a74704d76c5235d046d6957f9e78ebdc59e0939.tar.xz
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.)
-rw-r--r--audio/out/ao.c6
1 files 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
@@ -88,15 +88,15 @@ static const struct ao_driver * const audio_out_drivers[] = {
#if HAVE_SNDIO
&audio_out_sndio,
#endif
+#if HAVE_COREAUDIO
+ &audio_out_coreaudio_exclusive,
+#endif
&audio_out_null,
// should not be auto-selected:
&audio_out_pcm,
#if HAVE_ENCODING
&audio_out_lavc,
#endif
-#if HAVE_COREAUDIO
- &audio_out_coreaudio_exclusive,
-#endif
#if HAVE_RSOUND
&audio_out_rsound,
#endif