🛡️ InputGuard
May 14, 2026 · View on GitHub
Keep your mic locked to your preferred device so macOS stops hijacking your input when Bluetooth headsets connect.
❗ The Problem
macOS can automatically switch your default microphone to a newly connected Bluetooth headset (like AirPods). That often forces low-quality mic audio in calls, recordings, or streams—right when you need your best input device.
✅ The Solution
InputGuard runs quietly in the background and listens for CoreAudio input changes. When macOS tries to switch your microphone, InputGuard immediately restores your preferred input device, keeping your audio consistent and professional.
Our Smart Logic distinguishes between intentional hardware changes (like plugging in a USB mic) and unwanted Bluetooth takeovers, learning your new preferred device on the fly.
✨ Key Features
- 🧭 Menu bar–friendly: Runs discreetly in the background.
- 🧠 Smart Logic: Prevents Bluetooth hijacking while allowing wired/USB switches.
- ⚡ Ultra‑low CPU footprint: Optimized for performance.
- 🎧 Real‑time CoreAudio monitoring: Instant reaction to system changes.
- 🛠️ Built with Swift 6 & SwiftUI: Modern and native architecture.
- 🖥️ macOS 15.0+ (Sequoia): Fully optimized for the latest macOS.
📦 Installation & Setup
- Download: Grab the latest version from the Releases section.
- Install: Move
InputGuard.appto your/Applicationsfolder. - First Launch: Since InputGuard is independently developed, right-click the app icon and select Open to bypass the macOS Gatekeeper warning.
- Background Operation: Once launched, you can close the window; InputGuard will continue to protect your audio in the background.
- How to Quit: To fully exit the app, open it again and press
Cmd + Qwhile the window is active.
👤 Credits
Created by Jonah Simon with ❤️
If InputGuard makes your life easier, please consider supporting my work. Every coffee helps keep the shield active!