Files
Velix-MPV-Core/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
..
2013-05-12 21:47:55 +02:00
2013-05-23 17:44:06 +02:00
2013-05-12 21:24:56 +02:00
2013-05-12 21:24:57 +02:00
2013-05-12 21:24:57 +02:00
2013-05-12 21:24:57 +02:00
2013-05-12 21:24:54 +02:00