Simultaneously stream Windows 11 system audio to two pairs of Bluetooth earbuds or headphones with zero configuration.
Download Installer (.exe) • App Interface • How It Works • Architecture • Quick Start
- ⚡ Simultaneous Dual Output: Stream audio from any app (YouTube, Spotify, VLC, games, browser) to two separate Bluetooth earbuds or headphones with low latency.
- 🎯 Zero-Configuration Routing: No manual Windows Sound settings tinkering. DuoAudio automatically detects your devices, sets up routing in the background, and restores your default headphones when you stop.
- 🤫 Silent Room Protection: Automatically silences your laptop speakers during streaming so audio plays strictly inside both listeners' earbuds.
- 🎚️ Independent Volume Control: Adjust volume levels for each listener independently right from the app with smooth software gain.
- ⚡ Low Latency & High Fidelity: Direct 16-bit / 48 kHz linear PCM streaming built on Windows Core Audio (WASAPI).
- 🔒 100% Offline & Private: Zero telemetry, no background network calls, completely open source under MIT.
DuoAudio uses a decoupled, multi-process architecture to guarantee real-time audio throughput and UI responsiveness:
┌────────────────────────────────────────────────────────┐
│ Windows OS │
│ (Media Players, Web Browsers, Games, System Sounds) │
└──────────────────────────┬─────────────────────────────┘
│ WASAPI Loopback Capture
▼
┌────────────────────────────────────────────────────────┐
│ DuoAudio Native Audio Engine │
│ │
│ ┌────────────────────────┐ ┌──────────────────────┐ │
│ │ Linear PCM Stream │ │ Native C++ Helper │ │
│ │ Ring Buffer (16/48k) │ │ (IPolicyConfig COM) │ │
│ └───────────┬────────────┘ └──────────┬───────────┘ │
└──────────────┼──────────────────────────┼──────────────┘
│ Independent Streams │ Device Automation
▼ ▼
┌──────────────────────┐ ┌──────────────────────┐
│ Output 1 (Earbuds) │ │ Output 2 (Earbuds) │
└──────────────────────┘ └──────────────────────┘
- Audio Capture: Windows Audio Session API (WASAPI) shared-mode loopback capture with silence suppression compensation.
- Endpoint Automation: Standalone native C++ helper (
duoaudio_endpoint.exe) using undocumented Windows Core Audio COM interfaces (IPolicyConfig,IMMDeviceEnumerator) for rapid, silent endpoint switching and volume control without antivirus false-positives. - Buffer & Pacing: Dedicated ring buffer pacing per output stream with clock-drift resilience.
- Desktop Shell: Electron 33 + React 19 + Vite, communicating with the audio worker via structured IPC and graceful shutdown supervisors.
- Download: Grab the latest
DuoAudio Setup 1.0.2.exe. - Connect Earbuds: Pair both Bluetooth earbuds/headphones with Windows.
- Launch & Share: Open DuoAudio, select your two devices in Output 1 and Output 2, and click ▷ Start Sharing.
Prerequisites: Windows 11 (64-bit), Node.js (v22.x LTS), and MinGW GCC (g++).
# 1. Clone the repository
git clone https://github.com/Divyanshu0902/DuoAudio.git
cd DuoAudio
# 2. Install dependencies
npm install
# 3. Build UI bundle & compile native helper
npm run build:ui
scripts\build-native-helper.bat
# 4. Run the desktop app
npm startThis project is licensed under the MIT License — see the LICENSE file for details.

