Bug#563192: Patch for 563192
Marcelo E. Magallon
mmagallo at debian.org
Sun Mar 28 18:07:39 UTC 2010
tags 563192 + patch
thanks
Hi,
I agree with Max that portaudio shouldn't be setting the error
handler, much less to a function that just discards errors
(ALSA's default error handler prints errors to stderr). Please
mention this to upstream.
That said, I don't think that there's an actual application
trying to set its own error handler, since the whole point of
portaudio is abstracting ALSA (or OSS, or ...) away.
But in the spirit of not divering too much from upstream, I'm
attaching a patch that cleans up the error handler in case
portaudio is terminating. The way I read the code, the
Terminate function will be called on library unloading. I
didn't look at MPD (the case Max mentioned) to see if this is
the actual path taken in that case.
Cheers,
Marcelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snd_lib_error_set_handler.patch
Type: text/x-diff
Size: 453 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20100328/71ad5211/attachment.patch>
More information about the Pkg-voip-maintainers
mailing list