<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Module restore restores volume and mute settings from wrong sink input"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93855#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Module restore restores volume and mute settings from wrong sink input"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93855">bug 93855</a>
              from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
        <pre>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:

<span class="quote">> 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.</span >

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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>