I want all processes that use pulseaudio to simply have their volume set to 100%.
When I open a new instance of mpv or a new tab in firefox that uses audio, the default is 0% maybe 50% of the time, 153% maybe 25% of the time, and 100% the other 25% of the time.
It seems to be random.
How do I tell pulseaudio that I want new processes to start at 100% and I don't want some random process changing that?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Pulseaudio volume control is set randomly when a new process starts
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: Pulseaudio volume control is set randomly when a new process starts
Investigate whether you have
in
As described here:
https://superuser.com/questions/594154/ ... e-on-linux
You should also investigate which "random process"is changing settings.
This link describes how to create a log of the above command so you can catch any processes that use pulseaudio however briefly.
https://superuser.com/questions/47146/h ... d-in-linux
Code: Select all
flat-volumes = yes
Code: Select all
/etc/pulse/daemon.conf
~/.pulse/daemon.conf
~/.config/pulse/daemon.conf
https://superuser.com/questions/594154/ ... e-on-linux
You should also investigate which "random process"is changing settings.
Code: Select all
$ pacmd list-sink-inputs
https://superuser.com/questions/47146/h ... d-in-linux
Re: Pulseaudio volume control is set randomly when a new process starts
Thank you! I see in
It looks like # is for comments in that file, not sure what the leading semicolon is for.
Another symptom of the problem I've noticed is I'll have my bluetooth headset connected, listening to audio on youtube. I'll pause, then unpause, and the output device has switched to my computer speakers, *and* the volume drops to 0%.
I'll try setting up logging so I can catch whatever process is messing with the volume level and output device.
Code: Select all
; flat-volumes = yes
Code: Select all
/etc/pulse/daemon.conf
Another symptom of the problem I've noticed is I'll have my bluetooth headset connected, listening to audio on youtube. I'll pause, then unpause, and the output device has switched to my computer speakers, *and* the volume drops to 0%.
I'll try setting up logging so I can catch whatever process is messing with the volume level and output device.
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: Pulseaudio volume control is set randomly when a new process starts
File says
says
is the default for you. Not sure why as it is
on my computer, which I suppose means there is some unknown factor changing the default.
https://wiki.archlinux.org/title/PulseAudio
So it may depend on where you got PulseAudio from.
## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.
Code: Select all
man pulse-daemon.conf
Which meansThe configuration file is a simple collection of variable declarations.
If the configuration file parser encounters either ; or # it ignores
the rest of the line until its end.
Code: Select all
flat-volumes = yes
Code: Select all
flat-volumes = no
says the Arch WikiDefaults to yes upstream, but to no within Arch
https://wiki.archlinux.org/title/PulseAudio
So it may depend on where you got PulseAudio from.