mpv/libao2
wm4 f113e20794 ao_pulse: don't always print error message if PulseAudio unavailable
PulseAudio is rather high on the auto proving order (to avoid using an
emulated sound API), but it prints an annoying error message if the
PA client library can't connect to a server. On the other hand, we do
want this error message printed if the user explicitly selects the
pulse audio output driver.

Add a flag to indicate that an AO is opened due to auto probing.
ao_pulse checks that flag, and if it's set, do not print if the
initialization error is PA_ERR_CONNECTIONREFUSED, whcih I assume is
the error signalling PulseAudio unavailability. (This error happens
if no PulseAudio server is installed.)
2012-07-30 01:46:04 +02:00
..
ao_alsa.c ao_alsa: support native mute control 2012-04-11 03:56:30 +03:00
ao_coreaudio.c Remove compile time/runtime CPU detection, and drop some platforms 2012-07-30 01:37:28 +02:00
ao_dsound.c audio: restore volume setting after AO reinit if needed 2012-04-11 03:50:31 +03:00
ao_jack.c
ao_null.c
ao_openal.c ao_openal: fix crash when no device parameter is passed 2012-04-25 02:20:37 +02:00
ao_oss.c Remove compile time/runtime CPU detection, and drop some platforms 2012-07-30 01:37:28 +02:00
ao_pcm.c
ao_portaudio.c ao_portaudio: add new PortAudio audio output driver 2012-05-06 17:57:44 +03:00
ao_pulse.c ao_pulse: don't always print error message if PulseAudio unavailable 2012-07-30 01:46:04 +02:00
ao_rsound.c
ao_v4l2.c
audio_out.c ao_pulse: don't always print error message if PulseAudio unavailable 2012-07-30 01:46:04 +02:00
audio_out.h ao_pulse: don't always print error message if PulseAudio unavailable 2012-07-30 01:46:04 +02:00
audio_out_internal.h