summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.c
diff options
context:
space:
mode:
authorJonathan Yong <10walls@gmail.com>2013-06-13 21:15:39 +0800
committerwm4 <wm4@nowhere>2013-06-18 13:16:58 +0200
commita9f76c6d86d6fbbc91878995f0d3ff8d94690418 (patch)
treef7e55024b8742d4b3c3ce8e557f9f49f24846f9a /audio/out/ao.c
parent656f9e1ba7974f6053bf2b297688278f9b8949c4 (diff)
downloadmpv-a9f76c6d86d6fbbc91878995f0d3ff8d94690418.tar.bz2
mpv-a9f76c6d86d6fbbc91878995f0d3ff8d94690418.tar.xz
ao_wasapi0: add new wasapi event mode ao
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r--audio/out/ao.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index 7abb33f89f..a95c9e8f51 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -42,6 +42,7 @@ extern const struct ao_driver audio_out_openal;
extern const struct ao_driver audio_out_null;
extern const struct ao_driver audio_out_alsa;
extern const struct ao_driver audio_out_dsound;
+extern const struct ao_driver audio_out_wasapi0;
extern const struct ao_driver audio_out_pcm;
extern const struct ao_driver audio_out_pss;
extern const struct ao_driver audio_out_lavc;
@@ -65,6 +66,9 @@ static const struct ao_driver * const audio_out_drivers[] = {
#ifdef CONFIG_DSOUND
&audio_out_dsound,
#endif
+#ifdef CONFIG_WASAPI0
+ &audio_out_wasapi0,
+#endif
#ifdef CONFIG_PORTAUDIO
&audio_out_portaudio,
#endif