summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-06 22:23:58 +0100
committerwm4 <wm4@nowhere>2013-02-06 23:04:18 +0100
commit13d97077eceb299f853f21ffd630bd87d87373fe (patch)
treeaec91e9421b6bb68bddd084fee7d8cc570a2ec95 /audio/out/ao.c
parent7a6d26370c86e2b1df21935fb1631c0f1c16c998 (diff)
downloadmpv-13d97077eceb299f853f21ffd630bd87d87373fe.tar.bz2
mpv-13d97077eceb299f853f21ffd630bd87d87373fe.tar.xz
audio/out: prefer ao_dsound over ao_portaudio
On Linux, ao_portaudio has weird freezing issues (possibly specific to the ALSA backend, though). Also ao_dsound is more likely to get multi- channel audio output right, and ao_portaudio probably mangles these.
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r--audio/out/ao.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index 85e9548454..a0faafebfb 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -61,12 +61,12 @@ static const struct ao_driver * const audio_out_drivers[] = {
#ifdef CONFIG_OSS_AUDIO
&audio_out_oss,
#endif
-#ifdef CONFIG_PORTAUDIO
- &audio_out_portaudio,
-#endif
#ifdef CONFIG_DSOUND
&audio_out_dsound,
#endif
+#ifdef CONFIG_PORTAUDIO
+ &audio_out_portaudio,
+#endif
// wrappers:
#ifdef CONFIG_JACK
&audio_out_jack,