Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio ajusting volume unevenly.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
owen.geer
n00b
n00b


Joined: 15 Jul 2018
Posts: 27
Location: San Clemente, California

PostPosted: Thu Aug 16, 2018 1:18 am    Post subject: Pulseaudio ajusting volume unevenly. Reply with quote

I finally got my media keys working,(i am on HerbstluftWM) but when I use the up and down keys, it adjusts the voulme unevenly. When I use pavucontrol I can see that one of the channels raises/lowers volume faster than the other channel, causing my headphones to be uneven thus causing discomfort. These are the commands in my autostart.
Code:
 hc keybind XF86AudioLowerVolume spawn amixer set Master 1%-
hc keybind XF86AudioRaiseVolume spawn amixer set Master 1%+
How can I fix this?
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1344
Location: Montréal

PostPosted: Thu Aug 16, 2018 1:23 pm    Post subject: Reply with quote

Maybe using Pactl instead of Amixer
Code:
hc keybind XF86AudioLowerVolume spawn pactl set-sink-volume @DEFAULT_SINK@ -10%
hc keybind XF86AudioRaiseVolume spawn pactl set-sink-volume @DEFAULT_SINK@ +10%

_________________
Paul
Back to top
View user's profile Send private message
owen.geer
n00b
n00b


Joined: 15 Jul 2018
Posts: 27
Location: San Clemente, California

PostPosted: Fri Aug 17, 2018 2:30 am    Post subject: Reply with quote

Thank you so much, this worked!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum