Skip to content

v1.2.0 - Multi-Device WASAPI Audio & Microphone Mixer

Latest

Choose a tag to compare

@datlp datlp released this 12 Nov 22:40

dsnap v1.2.0 — Multi-Device WASAPI Audio & Microphone Mixer

✨ Highlights

  • 🎙️ Multi-Device WASAPI Loopback & Microphone Mixer (Issue #22):
    • Upgraded the core audio engine (src/audio.cpp) to simultaneously capture and mix multiple system output devices (Speakers + Headphones in WASAPI Loopback mode) and multiple input devices (Microphones) in real time.
    • Uses AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM | AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY to unify all endpoints at 48,000 Hz, 2-channel Stereo, 32-bit IEEE Float ( 32le) with automatic mono-to-stereo upmix fallback.
    • Powered by a hardware QueryPerformanceCounter (QPC) 10ms wall-clock pacer, per-stream FIFO buffers, and [-1.0f, 1.0f] soft-clipping for zero A/V desynchronization even when one or more output devices are silent.
  • 🎧 Hybrid System Tray UI (Option B - Issue #22):
    • 2 Quick Main Menu Checkboxes: [✓] Record System Audio and [✓] Record Microphone.
    • Audio Devices > Submenu: Dynamically enumerates active �Render and �Capture endpoints on menu open via IMMDeviceEnumerator and PKEY_Device_FriendlyName (supporting hot-plugged USB/Bluetooth headsets and mics). Supports Default System Output / Default Microphone or multi-selecting any combination of physical devices.
  • 💾 Multi-Endpoint Persistence & 5-Language i18n:
    • Saves RecordMic, OutputDevices, and InputDevices across both Windows Registry (HKCU\Software\dsnap) and zero-registry Portable Mode (dsnap.ini).
    • Full localization across English, Tiếng Việt, 简体中文, 한국어, and 日本語.

📦 Assets & Verification

File Description
dsnap-v1.2.0-setup.exe Dual-mode Inno Setup Installer (All Users / Current User + optional Always Run as Admin)
dsnap-v1.2.0-windows-x64.exe Standalone single-file portable executable (~476 KB)
dsnap-v1.2.0-windows-x64.zip Portable archive containing dsnap.exe, dsnap.ini.example, README.md, and LICENSE
SHA256SUMS.txt SHA-256 cryptographic checksums