Skip to content
sinaryorg edited this page Nov 7, 2026 · 2 revisions

WinAudio Documentation

Welcome to the official WinAudio documentation by SINARY™.

WinAudio is a modern, high-performance Windows audio capture, monitoring, and routing toolkit written in Rust, featuring a standalone CLI, official Python bindings (sinary-winaudio), and core Rust engine crates.

It captures digital audio from specific running applications (e.g. Discord, Spotify, Chrome, games) directly in user-mode using Windows WASAPI Process Loopback — without virtual audio cables, audio repeaters, or kernel drivers.


📚 Table of Contents

  • CLI Reference Guide
    • Discovering audio sessions (winaudio list)
    • Target by name, PID, or window title
    • Timed and continuous recording (Ctrl+C safe finalization)
    • Master loopback (--all), mixing, and exclude mode
    • Volume and mute control
    • Runnable command cheatsheet
  • Python API Guide (sinary-winaudio)
    • Installation via pip
    • Enumerating active sessions
    • Controlling application volume and mute
    • Per-process, multi-app, and exclude recording
    • Real-time 16-bit PCM streaming for Whisper and AI models
  • Rust API Guide (winaudio-core)
    • Adding the crate dependency
    • AudioCapture builder and target process selection
    • Managing sessions via SessionManager
    • Reading real-time audio frames via channels
  • Architecture & WASAPI Deep-Dive
    • Windows Process Loopback APIs (AUDIOCLIENT_ACTIVATION_PARAMS)
    • Dynamic process tree walking for child audio renderers
    • MMCSS real-time thread scheduling
    • Real-time DSP pipeline (downmixing and resampling)

💻 Operating System Requirements

  • Windows 10: Build 20348 (21H2 Server / Enterprise updates) or newer.
  • Windows 11: All builds supported.
  • Architecture: 64-bit (x86_64 / x64).
  • Permissions: Standard user permissions (Administrator not required for standard desktop audio sessions).

📦 Official Distribution Channels


📄 License & Trademark

Copyright © 2026 SINARY™. All rights reserved.

"SINARY" and the SINARY logo are trademarks of SINARY™.
Dual-licensed under either MIT License or Apache License, Version 2.0.