diff options
-rw-r--r-- | audio/out/ao.c | 6 | ||||
-rw-r--r-- | wscript | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 9e4dd88b5d..8685260204 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -60,9 +60,6 @@ static const struct ao_driver * const audio_out_drivers[] = { #if HAVE_PULSE &audio_out_pulse, #endif -#if HAVE_SNDIO - &audio_out_sndio, -#endif #if HAVE_ALSA &audio_out_alsa, #endif @@ -88,6 +85,9 @@ static const struct ao_driver * const audio_out_drivers[] = { #if HAVE_SDL1 || HAVE_SDL2 &audio_out_sdl, #endif +#if HAVE_SNDIO + &audio_out_sndio, +#endif &audio_out_null, // should not be auto-selected: &audio_out_pcm, @@ -477,7 +477,8 @@ audio_output_features = [ 'name': '--sndio', 'desc': 'sndio audio input/output', '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', 'desc': 'PulseAudio audio output', |