• snowfalldreamland@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 months 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.

    • e8d79@discuss.tchncs.deOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 months 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
            }
          }
        }
      ]