<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Fast volume change (using keyboard key) causes volume difference between channels"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105714#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Fast volume change (using keyboard key) causes volume difference between channels"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105714">bug 105714</a>
from <span class="vcard"><a class="email" href="mailto:sylogista@sylogista.pl" title="Hilary Jendrasiak <sylogista@sylogista.pl>"> <span class="fn">Hilary Jendrasiak</span></a>
</span></b>
<pre>(In reply to Hilary Jendrasiak from <a href="show_bug.cgi?id=105714#c2">comment #2</a>)
<span class="quote">> (In reply to Tanu Kaskinen from <a href="show_bug.cgi?id=105714#c1">comment #1</a>)
> > Thanks for the well-prepared report!
> >
> > I can reproduce the problem with the script. amixer doesn't seem to set all
> > channels in one go. I'm not sure if that's the fault of amixer or alsa's
> > pulse plugin.
> >
> > If you change the command to "pactl set-sink-volume @DEFAULT_SINK@ -1%", I
> > would expect the sync problems to disappear. "@DEFAULT_SINK@" is a special
> > string for referring to the default sink, so you don't have to figure out
> > the sink name yourself.
>
> Yes, `pactl set-sink-volume @DEFAULT_SINK@ -1%` is working fine, thanks!
>
> Small warning for everyone who will use it – this method allows you to
> change volume to 150% (not only to 100%, like `amixer` method). Take care
> about that and don't burn your amplifier by fast volume incrementing ;)</span >
According to amplifier safety issue – here's very simple blocker that should
not allow `pactl` to increase volume over 100%. For me it's working, but there
is obviously no warranty that it'll work for you, or – in worst case – that
it'll not stop protecting you without reason and any notice! (But I hope will
be good)
if [ "$(amixer get Master | tail -n1 | cut -d '[' -f 2 | cut -d '%' -f 1)" -lt
"100" ]
then
pactl set-sink-volume @DEFAULT_SINK@ +1%
fi</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>