mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-12 10:34:24 +08:00
- Add UAC1 gadget function (ConfigFS) with optimized endpoint config - Browser mic capture with Opus encoding via WebCodecs AudioEncoder - WebSocket audio transport (Opus 64kbps, 100x bandwidth reduction vs raw PCM) - aplay subprocess for reliable PCM playback to USB gadget - Settings toggle + ActionBar mic button (hidden when UAC disabled) - Dynamic PCM device resolution (/proc/asound) - c_chmask=0 + req_number=4 fixes DWC3 composite isochronous endpoint issue
16 lines
315 B
Rust
16 lines
315 B
Rust
mod audio_ws;
|
|
mod error;
|
|
mod handlers;
|
|
mod routes;
|
|
mod static_files;
|
|
mod uac_ws;
|
|
mod ws;
|
|
|
|
pub use audio_ws::audio_ws_handler;
|
|
pub use error::ErrorResponse;
|
|
pub use routes::create_router;
|
|
#[cfg(not(debug_assertions))]
|
|
pub use static_files::StaticAssets;
|
|
pub use uac_ws::uac_audio_ws_handler;
|
|
pub use ws::ws_handler;
|