[pulseaudio-tickets] [Bug 66677] New: Volume of regular stream turn to Max while volume sharing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 7 19:15:42 PDT 2013


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

          Priority: medium
            Bug ID: 66677
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: Volume of regular stream turn to Max while volume
                    sharing
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: cunshangzhishu at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: core
           Product: PulseAudio

"volume sharing" feature patch
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/pulsecore/sink-input.c?id=c9c88fb8dcbd35774e7aaae09e057e1b8bcdc3d4 

When a sink-input has been moved to a new proper sink, for the regular stream
case(flat disabled), we have to update sink-inputs' volume as
"i->reference_ratio".

In my case, I just create a new sink-input without passing volume parameter. So
the reference_ratio is Max. Right?
And after the sink-input created finished, I changed its volume by
pa_sink_input_set_volume.
The client scenario is like below:
1.pa_simple_new
2.pa_simple_set_volume.

So, when I move this sink-input to a proper sink I wanted, the volume of this
sink-input always turn to Max. Cause the "i->reference_ratio" is Max.

Anyway, I don't understand why we have to update the sink-input volume as
"i->reference_ratio" in the regular stream case.

If you have any idea, please share with us.

Looking forward to your reply.

-- 
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/20130708/d73b0fef/attachment.html>


More information about the pulseaudio-bugs mailing list