]> code.delx.au - pulseaudio/commit
qpaeq: Try to load equalizer module before failing, better error messages
authorMatěj Laitl <matej@laitl.cz>
Mon, 19 Mar 2012 21:44:30 +0000 (22:44 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 19 Dec 2012 10:31:49 +0000 (12:31 +0200)
commitf36148a82e99b40a0adebfdf10c83e480b484847
treef51e2df85ec8d53155b3a00d102d6726043d6b5c
parent7b8681de07bbeedda8a331ef7a120ea336bef5d7
qpaeq: Try to load equalizer module before failing, better error messages

This fixes bug 38728 [1]. When equalizer features are unavailable in running
pulseaudio daemon, try to load relevant module. If this fails, following error
is printed on stderr instead of a confusing traceback:

It seems that running pulseaudio does not support equalizer features and
loading module-equalizer-sink module failed. Exiting...

[1] https://bugs.freedesktop.org/show_bug.cgi?id=38728

Signed-off-by: Matěj Laitl <matej@laitl.cz>
src/utils/qpaeq