usbdac-core 0.1.14

Direct USB DAC playback for Rust audio applications on Android and Linux, with PCM, DoP, native DSD and bit-perfect reporting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
usbdac
======

usbdac is derived from the direct USB DAC output driver of Flick, an Android
music player (MIT licensed,
Copyright (c) 2026 Flick Player Contributors). The USB Audio Class descriptor
parsers, clock topology resolution, isochronous packet scheduling and
validation, transport loss accounting, output position accounting, payload
audits and hardware volume controls in `crates/usbdac-core` were extracted from
Flick's `rust/src/uac2/` module (commit 86ffa87f) and then restructured behind a
standalone, handle-based API. Much of the behaviour has since been changed; the
differences are listed in docs/sdk/improvements.md and in the git history.

No code from any other project was copied into this repository.

Third-party libraries used (see Cargo.lock for exact versions): rusb and
libusb1-sys (libusb, LGPL-2.1+, linked as a library), parking_lot, once_cell,
crossbeam-channel, log, libc, and for the JNI crate jni, serde and serde_json.