summaryrefslogtreecommitdiffstats
path: root/libao2/ao_pulse.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-05 15:02:03 +0100
committerUoti Urpala <uau@mplayer2.org>2012-01-16 22:40:14 +0200
commit668654098ede4f4801fc7bc2b2bec4070902a4fd (patch)
tree9ca379106e3b25c6a1f21e18daeae7c4d4f52eb6 /libao2/ao_pulse.c
parent6cecbf38c110bd3fb83ed06523d5045fa1481139 (diff)
downloadmpv-668654098ede4f4801fc7bc2b2bec4070902a4fd.tar.bz2
mpv-668654098ede4f4801fc7bc2b2bec4070902a4fd.tar.xz
audio: change default preference order of AO drivers
Now PulseAudio is preferred over ALSA, which in turn is preferred over OSS. This should give best results on all systems. On systems with PulseAudio, we will always use it natively, rather than through the suboptimal ALSA emulation (which the default ALSA output is normally redirected to when PulseAudio is active; ALSA hardware devices will not be, but to use those the user must set AO explicitly in any case, so changing the defaults makes no difference). The fallback from ao_pulse to ao_alsa causes no noticeable delay on systems without PulseAudio. On systems with ALSA, we won't attempt to use OSS anymore. Also, move OpenAL above SDL. OpenAL should generally work better than SDL.
Diffstat (limited to 'libao2/ao_pulse.c')
0 files changed, 0 insertions, 0 deletions