---
layout: post
title: "Firefox's microphone flickering on and off on macOS"
tags: [firefox, browsers, macos]
description: "Firefox on macOS kept opening and closing my microphone four times a second. The cause: a pref I had disabled long ago to fix a quiet microphone."
---

Ever since ~forever, the microphone on Firefox on macOS has not worked for me. The orange mic indicator in the menu bar flickered on and off about four times a second, and audio wouldn't record. Very annoying.

The cause was `media.getusermedia.microphone.prefer_voice_stream_with_processing.enabled`, which I had set to `false` long ago on an older Mac whose microphone was very quiet. With it disabled, Firefox gets stuck in a loop recreating its audio driver ([bug 2057748](https://bugzilla.mozilla.org/show_bug.cgi?id=2057748)). Resetting it in `about:config` fixed it. Yay.
