diff options
author | wm4 <wm4@nowhere> | 2014-10-22 16:15:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-22 16:15:49 +0200 |
commit | 2a74704d76c5235d046d6957f9e78ebdc59e0939 (patch) | |
tree | 91853b72a72be253cced66c5c25c904cce70033a /audio/out/ao.c | |
parent | be950351d93202097e869d64a0b1d0e4fd91bd34 (diff) | |
download | mpv-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.)
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 6 |
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 |