Summary: | Fast volume change (using keyboard key) causes volume difference between channels | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Hilary Jendrasiak <sylogista> |
Component: | alsa | Assignee: | pulseaudio-bugs |
Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
Severity: | minor | ||
Priority: | medium | CC: | lennart, sylogista |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Screen capture with `pavucontrol` and `screenkey`. |
Description
Hilary Jendrasiak
2018-03-23 15:17:36 UTC
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. (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 ;) (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 -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/335. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.