[pulseaudio-tickets] [Bug 105714] Fast volume change (using keyboard key) causes volume difference between channels
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 25 16:29:57 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105714
--- Comment #3 from Hilary Jendrasiak <sylogista at sylogista.pl> ---
(In reply to Hilary Jendrasiak from comment #2)
> (In reply to Tanu Kaskinen from comment #1)
> > 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 ;)
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
--
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: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180325/6620025f/attachment.html>
More information about the pulseaudio-bugs
mailing list