• @snowfalldreamland@lemmy.ml
    link
    fedilink
    225 days ago

    Thanks! This will be veryuseful when I update in a month. I have some config to prevent popping sounds when the soundcard goes to sleep.

    • @e8d79OP
      link
      2
      edit-2
      25 days ago

      Yes that is more or less the issue I needed to fix as well. My issues where fixed by creating a new config at ~/.config/wireplumber/wireplumber.conf.d/alsa-vm.conf with the following content:

      # ALSA node property overrides for virtual machine hardware
      
      monitor.alsa.rules = [
        # Generic PCI cards on any VM type
        {
          matches = [
            {
              node.name = "~alsa_output.*"
            }
          ]
          actions = {
            update-props = {
              session.suspend-timeout-seconds = 0
            }
          }
        }
      ]