mirror of
https://github.com/mpv-player/mpv
synced 2025-01-29 11:12:56 +00:00
f113e20794
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.) |
||
---|---|---|
.. | ||
ao_alsa.c | ||
ao_coreaudio.c | ||
ao_dsound.c | ||
ao_jack.c | ||
ao_null.c | ||
ao_openal.c | ||
ao_oss.c | ||
ao_pcm.c | ||
ao_portaudio.c | ||
ao_pulse.c | ||
ao_rsound.c | ||
ao_v4l2.c | ||
audio_out_internal.h | ||
audio_out.c | ||
audio_out.h |