[pulseaudio-tickets] [Bug 55262] If volume was at 0% at shutdown upon reboot it's at 100%.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 5 08:32:18 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=55262

--- Comment #10 from Tanu Kaskinen <tanuk at iki.fi> ---
Ok, the motivation for PORT_NEW was probably that module-card-restore needs to
know whether the port volume has already been set, and the usual pattern with
pa_foo_new_data would help with that.

I would personally prefer a separate hook for setting the initial port volume
(not PORT_NEW, if we're going to initialize the volume in pa_card_new() where
the port object already exists). The hook could be called
PA_CORE_HOOK_PORT_SET_INITIAL_VOLUME. I don't know if other maintainers like
this, however.

An example of this kind of a "set initial thing" hook is
PA_CORE_HOOK_NODE_SET_INITIAL_ROUTING in the routing patches that have not been
reviewed yet:
https://gitorious.org/pulseaudio/tanuk-clone/commit/1d047ca24a3200721270bae119855a84f569d5e6

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140205/61871890/attachment.html>


More information about the pulseaudio-bugs mailing list