mpv/audio
wm4 3546188a41 ao_alsa: always unset ALSA error handler, cleanup on init error
The ALSA device was not closed when initialization failed.

The ALSA error handler (set with snd_lib_error_set_handler()) was not
unset when closing ao_alsa. If this is not done, the handler will still
be called when other libraries using ALSA cause errors, even though
ao_alsa was long closed. Since these messages were prefixed with
"[AO_ALSA]", they were misleading and implying ao_alsa was still used.

For some reason, our error handler is still called even after doing
snd_lib_error_set_handler(NULL), which should be impossible. Checking
with the debuggers, inserting printf(), as well as the alsa-lib source
code all suggest our error handler should not be called, but it still
happens. It's a complete mystery.
2013-05-26 16:44:18 +02:00
..
decode Merge branch 'audio_changes' 2013-05-12 21:47:55 +02:00
filter af_lavfi: add libavfilter bridge 2013-05-23 17:44:06 +02:00
out ao_alsa: always unset ALSA error handler, cleanup on init error 2013-05-26 16:44:18 +02:00
audio.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
audio.h audio/filters: add af_force 2013-05-12 21:24:56 +02:00
chmap.c chmap: fix oddity due to ambiguous 6.1 ffmpeg channel layout 2013-05-13 23:55:39 +02:00
chmap.h audio/out: channel map selection 2013-05-12 21:24:57 +02:00
chmap_sel.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
fmt-conversion.c audio: add double sample format 2013-05-12 21:24:57 +02:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio: add double sample format 2013-05-12 21:24:57 +02:00
format.h audio: add double sample format 2013-05-12 21:24:57 +02:00
mixer.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
mixer.h mplayer: keep volume persistent, even when using --volume 2013-04-10 21:29:04 +02:00
reorder_ch.c audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00
reorder_ch.h audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00