macOS daemon that automatically switches your default audio input away from AirPods to your preferred microphone.
When AirPods connect, macOS silently switches the input source to the AirPods mic. This daemon detects that and immediately switches it back — no manual intervention needed.
- CoreAudio property listener — truly event-driven, 0% CPU when idle
- No permissions, entitlements, or code signing required
- Runs as a LaunchAgent for persistence across restarts
make installThis compiles the binary to ~/bin/, installs a LaunchAgent, and starts the daemon.
make uninstallSet your preferred microphone via environment variable:
PODBLOCK_PREFERRED_INPUT="Your Mic Name"The value is matched case-insensitively as a substring against device names. Edit LaunchAgent/com.local.podblock.plist to change it permanently.
tail -f /tmp/podblock.log