E does not remember audio balance #69

Open
opened 2024-05-09 05:40:04 -07:00 by kdato49 · 4 comments

I have this line in ~/.config/pulse/default.pa

set-sink-volume 0 50% 65%

This is persistent between boots. It means that, after logging in as user but before startx, alsamixer shows me 50% and 65%. It also means that I have this balance when I play audio on the console outside E.

But once I startx into E, the audio balance is reset to an equal level. It looks like E overwrites the balance on startup.

Is there a fix, like editing an E file somewhere?

I have this line in ~/.config/pulse/default.pa set-sink-volume 0 50% 65% This is persistent between boots. It means that, after logging in as user but before startx, alsamixer shows me 50% and 65%. It also means that I have this balance when I play audio on the console outside E. But once I startx into E, the audio balance is reset to an equal level. It looks like E overwrites the balance on startup. Is there a fix, like editing an E file somewhere?
Owner

right click on mixer -> settings - disable "remember".

right click on mixer -> settings - disable "remember".
Author

Thanks. That wasn't it though, but it gave me an idea.

I rebuilt E from here using meson option -Dmixer=false

pulsemixer, pavucontrol, alsamixer now all preserve the +15% on the right once E is up.

It's a bit of a pity though, I like Emixer :)

Thanks. That wasn't it though, but it gave me an idea. I rebuilt E from here using meson option -Dmixer=false pulsemixer, pavucontrol, alsamixer now all preserve the +15% on the right once E is up. It's a bit of a pity though, I like Emixer :)
Owner

you could have just unloaded the mixer module.... no need to recompile....

but mixer remembers the volume by default from last time and restores it... but it doesn't remember per channel. if you disable restore - then e wont be trying to restore volume.

you could have just unloaded the mixer module.... no need to recompile.... but mixer remembers the volume by default from last time and restores it... but it doesn't remember per channel. if you disable restore - then e wont be trying to restore volume.
Author

Yes, unloading the module would have been easier indeed ...

Thanks for the tips.

Yes, unloading the module would have been easier indeed ... Thanks for the tips.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: enlightenment/enlightenment#69
No description provided.