you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 10 months ago

Looks like this was a long time ago. I was using pulse audio on Ubuntu. Which I guess is ancient now. I had to edit /etc/pulse/default.pa And edit things like load-module module-switch-on-connect which dealt with USB connect event handling.

I don't use bazzite, looks like that is a fedora based distro. Which I guess now uses pipewire/wireplumber. (And I guess ubuntu does too now?)

I would suggest googling something like "pipewire session.suspend-timeout-seconds"

You'll find a bunch of similar issues:

https://discussion.fedoraproject.org/t/how-do-i-disable-audio-sink-suspend-on-idle-using-wireplumber-and-pipewire-on-fedora-35-so-that-my-audio-isnt-delayed-when-playback-resumes/69861

https://www.reddit.com/r/archlinux/comments/1cb1juo/i_cant_stop_pipewire_from_suspending_my_speakers/

This is for Mint, but I'm thinking this same "session.suspend-timeout-seconds" property is going to be what you are looking for.

https://www.lexo.ch/blog/2024/09/fix-audio-delays-and-missing-audio-notifications-in-ubuntu-and-linux-mint-disabling-pipewire-and-wireplumber-suspend/

It looks like setting that property to 0 might prevent suspend from stopping your audio.

If not, I think this gives you a pretty good idea of where to look for the config files:
/usr/share/wireplumber

And from there, you can probably get a good idea of the various property names and what they do.

  • source
  • parent