Skip to content

thisisjsimon/InputGuard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ InputGuard

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 App Interface

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

  1. Download: Grab the latest version from the Releases section.
  2. Install: Move InputGuard.app to your /Applications folder.
  3. First Launch: Since InputGuard is independently developed, right-click the app icon and select Open to bypass the macOS Gatekeeper warning.

  4. Background Operation: Once launched, you can close the window; InputGuard will continue to protect your audio in the background.
  5. How to Quit: To fully exit the app, open it again and press Cmd + Q while 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!

About

This app runs in the background to prevent macOS from switching the microphone to Bluetooth headsets.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages