[pulseaudio-tickets] [Bug 93855] Module restore restores volume and mute settings from wrong sink input

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 25 08:35:29 PST 2016


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

--- Comment #4 from Tanu Kaskinen <tanuk at iki.fi> ---
I'm not convinced that I have misunderstood anything. The intended behaviour is
that when you set volume for mpg123, the volume of all future instances of
mpg123 will get that same volume, and the currently used id is sufficient to
identify all instances of mpg123. I get the impression that you don't like that
behaviour, and the solution to that is to disable volume restoring either on
per-instance basis with the PULSE_PROP environment variable, or permanently by
modifying default.pa.

I am confused, however, about this paragraph:

> Using the pid of the original stream is perfectly fine. The module is just
> looking for a unique string and the pid of the (old) stream is such a unique
> name. The string is not used to look for the process with that particular pid,
> it is just a way to ensure that the string that identifies the stream is
> unique.

Why do you say the string isn't used to look for the process with that
particular pid? The string is used to group streams that belong to the same
group. The string is the group id. If you use the pid in the string, then the
group is defined as "all streams belonging to the process with this pid". Two
different instances of mpg123 won't belong in the same group then, which I
guess is what you want, but that's not what is usually wanted.

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


More information about the pulseaudio-bugs mailing list