diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2013-09-28 18:01:12 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-03 23:14:03 +0200 |
commit | 32894736780ea63e5fea456de27650fc27ec57c6 (patch) | |
tree | a72fe21baacc223136b313c66717069172400722 /audio/out/ao.c | |
parent | bdc56771eb8fa06f47599d90370017a6791e631b (diff) | |
download | mpv-32894736780ea63e5fea456de27650fc27ec57c6.tar.bz2 mpv-32894736780ea63e5fea456de27650fc27ec57c6.tar.xz |
audio/out: add sndio support
Based on an earlier patch for mplayer by Alexandre Ratchov <alex@caoua.org>
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 1c7cfcbcae..566ab0fea9 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -35,6 +35,7 @@ extern const struct ao_driver audio_out_oss; extern const struct ao_driver audio_out_coreaudio; extern const struct ao_driver audio_out_rsound; +extern const struct ao_driver audio_out_sndio; extern const struct ao_driver audio_out_pulse; extern const struct ao_driver audio_out_jack; extern const struct ao_driver audio_out_openal; @@ -55,6 +56,9 @@ static const struct ao_driver * const audio_out_drivers[] = { #ifdef CONFIG_PULSE &audio_out_pulse, #endif +#ifdef CONFIG_SNDIO + &audio_out_sndio, +#endif #ifdef CONFIG_ALSA &audio_out_alsa, #endif |