Lower Pipewire CPU usage on Ubuntu while using Firefox

I was noticing high CPU usage for the pipewire process on Ubunutu.

After some digging, I came across this thread. The culprit is an accessibility feature in Firefox. If you are not using firefox’s speech synthases features you can disable it to drop CPU usage.

  1. Type about:config into the Address bar.
  2. Search media.webspeech.synth.enabled
  3. Set media.webspeech.synth.enabled to false.
  4. Restart Firefox and check pipwire process cpu usage