Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
flat-volumes in pulse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
voidlike
n00b
n00b


Joined: 02 Dec 2015
Posts: 2

PostPosted: Mon Dec 14, 2015 9:08 pm    Post subject: flat-volumes in pulse Reply with quote

I switched to pulse for the ability to have different audio streams at different volumes.

Is it just me or is the way it automatically handles program initial volumes just terrible whether you use flat-volumes or not?

flat-volumes seems like a good option at first since all programs will be at the same volume when started unless you manually decouple them. The problem is however that apparently applications can influence the master volume since it sets it to the loudest application which can be bad if that application is at 100%.

Without flat-volumes the starting volume values in applications slowly drift apart over time, and after a month or so I'll find that youtube is extremely quiet, for example, with the player being at max volume and pressing my increase volume hotkeys does nothing. I have to manually open pavucontrol and turn the volume up again.

Have the people designing pulse seriously never thought of just having a master volume that is uninfluenced by the applications themselves, and every application starts with the same initial value as the master, which you can manually decouple if you wish (but restarting the program will again put it to the master value).
It seems like such an obvious solution I'm thinking there has to be some technical reason it doesn't work this way.

Does anyone have some advice, workaround, or explanation for why pulse decides to handle things in such unintuitive ways?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Dec 18, 2015 6:45 pm    Post subject: Reply with quote

The youtube problem is youtube's fault; they've started doing something stupid with their audio encoding lately and all videos are becoming way too quiet.

I don't trust Pulseaudio's volume controls at all, I turn flat-volumes off and have it manually load module-alsa-sink so it can't screw with my hardware volume directly. I have the keyboard volume keys bound to amixer instead. This setup has given me no problems.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Fri Dec 18, 2015 9:44 pm    Post subject: Reply with quote

It's not just you, that's how it is in Linux.
Luckily there is a solution, emerge this package :
Code:

media-plugins/swh-plugins


Then edit /etc/pulse/default.pa and in the end of the file add this :
Code:

load-module module-ladspa-sink sink_name=compressor plugin=sc4_1882 label=sc4 control=1,1.5,401,-10,20,5,12
set-default-sink compressor


Reboot and you will see a difference, no need to change anything in the sound settings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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