[pulseaudio-tickets] [Bug 93259] unplugging headphones sets volume to 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 6 05:05:24 PST 2015


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

--- Comment #8 from Tanu Kaskinen <tanuk at iki.fi> ---
(In reply to Raymond from comment #7)
> (In reply to Tanu Kaskinen from comment #6)
> > (In reply to Raymond from comment #5)
> > > 
> > > If switch is already muted, there is no point to change volume control to
> > > zero dB(maximum) nor Off (minimum)
> > 
> > It also doesn't hurt. And in theory there could be a volume element without
> > a switch element, in which case the volume matters.
> 
> 
> If the headphone is already unpluged, do pulseaudio really need to mute HP
> playback switch or turn HP volume off.  

The Headphone element is not the only element that affects headphone volume. If
the Master element is at high level prior to plugging in headphones, and the
to-be-restored volume for headphones is low, there will be a spike in the
volume if the headphones are not muted, because the Master volume is initially
too high.

> > > Do pulseaudio store headphone volume and restore the user selected level
> > > after restart/reboot
> > 
> > Yes.
> 
> Can the user dump database to verify pulseaudio had store the headphone and
> speaker volume? 
> 
> eg. User want to set hp to 50% and speaker at 75%

We don't have native tools for dumping the database contents. Pulseaudio
supports three different database formats, the format is decided during
building. The "tdb" and "gdbm" formats probably have some tools for examining
the database contents. The "simple" format is homegrown, and doesn't have tools
for dumping the database contents.

The database is the file with "device-volumes" in its name under
~/.config/pulse, if you want to take a look.

-- 
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/20151206/ca89f32e/attachment.html>


More information about the pulseaudio-bugs mailing list