Pipewire or Pulseaudio auto adjusting microphone volume

Pipewire or Pulseaudio auto-adjusting the microphone volume is causing me problems because it is not adjusting upwards but only downwards, is there a way to disable this permanently?

I found the solution

create this file:
touch ~/.config/pipewire/pipewire-pulse.conf.d/pipewire-pulse-rules.conf

and add the apps that you don’t want to modify your audio:

pulse.rules = [
  {
  # Disable mic auto gain for some applications
  matches = [
    { application.process.binary = "chrome" }
    { application.process.binary = "Discord" }
    { application.process.binary = "teams" }
    { application.process.binary = "skypeforlinux" }
  ]
  actions = { quirks = [ block-source-volume ] }
  }
]