[pulseaudio-discuss] Saving stream volumes per physical output

Lennart Poettering lennart at poettering.net
Thu Jan 14 12:54:18 PST 2010


On Wed, 06.01.10 05:18, Tanu Kaskinen (tanuk at iki.fi) wrote:

> > So you have one music stream playing at -10dB absolute on the
> > headphones. The ref volume on the sink is 0dB absolute. Now you switch
> > the port to the speakers. m-d-r should become active and set the new
> > ref volume for the sink to let's say -5 dB absolute. Since the stream
> > volume is stored relatively internally the resulting absolute stream
> > volume for your stream would be -15dB. Which is what is intended I
> > would say.
> 
> That describes just one port switch, right? To continue from where you
> left off, what if I, for whatever reason, am not happy with the chosen
> speaker volume and change the music stream volume to -5 dB absolute (= 0
> dB relative)? 

You should not have change the stream, but the device volume in this
case. 

> Then at some point I switch back to the headphones. m-d-r
> restores the sink reference volume to 0 dB and m-s-r doesn't do
> anything. Now the music stream has also absolute volume 0 dB, which is
> 10 dB more than what I want the headphones to have. When I changed the
> volume while using the speakers, it shouldn't have affected the volume
> that I get when using the headphones.

Yes, but that is expected. If you change the stream volume you change
the stream volume. if you change the device volume you change the
device volume.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list