1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00

audio/out: disable ao_sndio by default

Don't build it, move it down the autoprobe list even if it's enabled. It
doesn't work well enough.
This commit is contained in:
wm4 2014-09-26 15:52:29 +02:00
parent 4784ca32c9
commit d778130dc4
2 changed files with 5 additions and 4 deletions

View File

@ -60,9 +60,6 @@ static const struct ao_driver * const audio_out_drivers[] = {
#if HAVE_PULSE #if HAVE_PULSE
&audio_out_pulse, &audio_out_pulse,
#endif #endif
#if HAVE_SNDIO
&audio_out_sndio,
#endif
#if HAVE_ALSA #if HAVE_ALSA
&audio_out_alsa, &audio_out_alsa,
#endif #endif
@ -87,6 +84,9 @@ static const struct ao_driver * const audio_out_drivers[] = {
#endif #endif
#if HAVE_SDL1 || HAVE_SDL2 #if HAVE_SDL1 || HAVE_SDL2
&audio_out_sdl, &audio_out_sdl,
#endif
#if HAVE_SNDIO
&audio_out_sndio,
#endif #endif
&audio_out_null, &audio_out_null,
// should not be auto-selected: // should not be auto-selected:

View File

@ -477,7 +477,8 @@ audio_output_features = [
'name': '--sndio', 'name': '--sndio',
'desc': 'sndio audio input/output', 'desc': 'sndio audio input/output',
'func': check_statement('sndio.h', 'func': check_statement('sndio.h',
'struct sio_par par; sio_initpar(&par); const char *s = SIO_DEVANY', lib='sndio') 'struct sio_par par; sio_initpar(&par); const char *s = SIO_DEVANY', lib='sndio'),
'default': 'disable'
}, { }, {
'name': '--pulse', 'name': '--pulse',
'desc': 'PulseAudio audio output', 'desc': 'PulseAudio audio output',