How momochisoundpost/ds-orca-mk3-driver works
This repository provides a Windows USB audio driver, native ASIO interface, and tray control panel for the DS-ORCA MK3. The main workflow is a DAW opening the ASIO driver, which communicates with the kernel driver to stream audio over USB; the WaveRT path also enables Windows audio clients to share the device. The panel reports device and client state and applies buffer, safe-mode, and volume settings. Edges follow shown calls, shared interfaces, or README descriptions; unsampled implementation details are left unconnected where evidence is limited.
Main entry points: ds_orca_asio.cpp ASIO interface · wavert.cpp WaveRT streams and mixer · usb_uac2.c Control interface · usb_isoch.c USB isochronous I/O
Components 21
Audio clients
- DAW
- Windows audio clients
- ASIO interface
asio/ds_orca_asio.cpp - ASIO setup dialog
asio/control_panel.cpp
Kernel audio driver
- Device adapter
driver/adapter.cpp - Control interface
driver/usb_uac2.c - Audio topology
driver/topology.cpp - ASIO stream interface
driver/asio_iface.cpp - WaveRT streams and mixer
driver/wavert.cpp - USB isochronous I/O
driver/usb_isoch.c
Audio processing
- UAC2 descriptor parser
core/uac2_desc.c - USB cadence
core/cadence.c - PCM 24-bit conversion
core/pcm24.c - Mixer and resampling
core/mixer_src.c
Control panel
- Tray app
panel/ds_orca_panel.cpp - Device settings backend
panel/panel_backend.cpp - Five-tab UI
panel/panel_ui.cpp - Windows volume controls
panel/volume_endpoint.cpp
Other components
- DS-ORCA MK3
- Driver IOCTL ABI
shared/dsorca_ioctl.h - Panel IPC definitions
shared/dsorca_panel_ipc.h
Connections 22
- DAW → ASIO interface: opens device
README.md - ASIO interface → Control interface: sends control requests
asio/ds_orca_asio.cpp - ASIO interface → ASIO stream interface: shares stream buffers
- Windows audio clients → WaveRT streams and mixer: uses WaveRT
README.md - WaveRT streams and mixer → Mixer and resampling: mixes clients
- Device adapter → Audio topology: configures topology
- Control interface → USB isochronous I/O: controls streaming
- USB isochronous I/O → DS-ORCA MK3: transfers audio
README.md - Device adapter → UAC2 descriptor parser: uses parser
- USB isochronous I/O → USB cadence: uses cadence
- WaveRT streams and mixer → PCM 24-bit conversion: converts samples
- WaveRT streams and mixer → Mixer and resampling: uses processing
- Tray app → Device settings backend: queries and applies
panel/ds_orca_panel.cpp - Tray app → Five-tab UI: updates display
panel/ds_orca_panel.cpp - Five-tab UI → Windows volume controls: sets volume
panel/panel_ui.cpp - Device settings backend → Control interface: queries device
- ASIO setup dialog → ASIO interface: configures buffer
asio/control_panel.cpp - ASIO interface → Tray app: requests panel
- ASIO interface → Driver IOCTL ABI: uses interface
asio/ds_orca_asio.cpp - Control interface → Driver IOCTL ABI: implements interface
- Device settings backend → Panel IPC definitions: uses settings protocol
- ASIO interface → Panel IPC definitions: uses settings protocol
asio/ds_orca_asio.cpp