Audio volume control issue in MX

Message
Author
User avatar
kepler1
Posts: 36
Joined: Sat Jun 01, 2019 6:00 am

Audio volume control issue in MX

#1 Post by kepler1 »

Hello all!

I'm trying to find out why I can't control volume separately within the applications.

Case:

1. Right click the VolumeIcon from the panel
2. Go to Preferences -> Add hotkeys for Volume Up / Down
3. Open VLC / Audacious (or another media player) > Play a video / audio file
4. Change the volume from inside the application (up / down keys for VLC, or slider from Audacious)

Result: The master volume changes, even if the volume is changed from inside the active application.

In my opinion, only the application volume should change, the master volume should not change.

Example: I use the hotkeys to adjust the master volume, when I modify the application audio volume, master volume also changes...

Did anyone noticed this?

Thanks!

User avatar
dreamer
Posts: 970
Joined: Sun Oct 15, 2017 11:34 am

Re: Audio volume control issue in MX

#2 Post by dreamer »

kepler1 wrote: Wed Jun 19, 2019 4:52 am Hello all!

I'm trying to find out why I can't control volume separately within the applications.

Case:

1. Right click the VolumeIcon from the panel
2. Go to Preferences -> Add hotkeys for Volume Up / Down
3. Open VLC / Audacious (or another media player) > Play a video / audio file
4. Change the volume from inside the application (up / down keys for VLC, or slider from Audacious)

Result: The master volume changes, even if the volume is changed from inside the active application.

In my opinion, only the application volume should change, the master volume should not change.

Example: I use the hotkeys to adjust the master volume, when I modify the application audio volume, master volume also changes...

Did anyone noticed this?

Thanks!
You are describing "flat-volumes", which is still enabled in Debian and MX Linux by default. It can cause physical harm to humans and equipment. See thread below how to disable it:

viewtopic.php?f=108&t=44046&p=435055
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
Eadwine Rose
Administrator
Posts: 15399
Joined: Wed Jul 12, 2006 2:10 am

Re: Audio volume control issue in MX

#3 Post by Eadwine Rose »

Confirmed.. indeed.
The file is located in /etc/pulse and is called daemon.conf. There is a line called flat-volumes which has to be uncommented and also changed to “no”.
Changed flat-volumes to no and commented out the line. I wager a reboot is needed to have it take effect.



Rebooted, no dice on this machine. Raising volume in VLC still raises the master volume.
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
dreamer
Posts: 970
Joined: Sun Oct 15, 2017 11:34 am

Re: Audio volume control issue in MX

#4 Post by dreamer »

The tweak worked for me otherwise I would have uninstalled PulseAudio immediately.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
dreamer
Posts: 970
Joined: Sun Oct 15, 2017 11:34 am

Re: Audio volume control issue in MX

#5 Post by dreamer »

If there is a blank space in front of (or after) flat-volumes try removing it. Config files can be sensitive to blank spaces.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
kepler1
Posts: 36
Joined: Sat Jun 01, 2019 6:00 am

Re: Audio volume control issue in MX

#6 Post by kepler1 »

dreamer wrote: Wed Jun 19, 2019 9:22 am If there is a blank space in front of (or after) flat-volumes try removing it. Config files can be sensitive to blank spaces.
Thank you, friend. Works perfectly now.

Question: Can we have this by default? I see no use in using flat-volumes....

User avatar
masterpeace
Posts: 36
Joined: Sun Jun 16, 2019 11:35 pm

Re: Audio volume control issue in MX

#7 Post by masterpeace »

kepler1 wrote: Thu Jun 20, 2019 3:34 amQuestion: Can we have this by default? I see no use in using flat-volumes....
it prevents users from using louder volume than the machine can actually handle (beyond 100% thingies) and to raise awareness to hearing health issues , it's a second hand knowledge from forum-veteran on manjaro forum

User avatar
dreamer
Posts: 970
Joined: Sun Oct 15, 2017 11:34 am

Re: Audio volume control issue in MX

#8 Post by dreamer »

masterpeace wrote: Wed Aug 07, 2019 3:38 am
kepler1 wrote: Thu Jun 20, 2019 3:34 amQuestion: Can we have this by default? I see no use in using flat-volumes....
it prevents users from using louder volume than the machine can actually handle (beyond 100% thingies) and to raise awareness to hearing health issues , it's a second hand knowledge from forum-veteran on manjaro forum
If you suffer hearing loss because of flat-volumes it will bring awareness to hearing health issues, that's logical in a weird way.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
Eadwine Rose
Administrator
Posts: 15399
Joined: Wed Jul 12, 2006 2:10 am

Re: Audio volume control issue in MX

#9 Post by Eadwine Rose »

And those actually suffering from hearing loss are happy with the feature ;)
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
dreamer
Posts: 970
Joined: Sun Oct 15, 2017 11:34 am

Re: Audio volume control issue in MX

#10 Post by dreamer »

Eadwine Rose wrote: Wed Aug 07, 2019 10:12 am And those actually suffering from hearing loss are happy with the feature ;)
In most countries it isn't allowed to drive a car without a seat belt, but some people think it's easier to drive without. And it actually is because the seat belt does nothing for usability. It's a safety feature.

Your master volume is also a safety feature which flat-volumes disables. I'm not telling people what to do, just pointing out that flat-volumes disables a safety feature.

It's a stupid discussion that was brought to life. Use seat belt or not. It's your choice.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

Post Reply

Return to “General”