Files
oh-my-pi/crates/pi-voice/Cargo.toml
T
can1357 7cae7ef3f5 feat(voice): replaced miniaudio with native platform audio backends
- Replaced the miniaudio dependency with custom OS audio device abstractions and backends.
- Implemented platform-specific audio playback and capture for macOS (Audio Queue), Windows (WASAPI), and Linux (PulseAudio/ALSA).
- Added a fallback stub backend returning errors for unsupported platforms.
- Updated audio stream handling with reliable fill guard wakeups and streamlined rate validation.
2026-08-07 23:38:27 +02:00

29 lines
742 B
TOML

[package]
name = "pi-voice"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
# Forces the static libopus build for the `opus` codec crate.
audiopus_sys.workspace = true
bytes.workspace = true
flume.workspace = true
opus.workspace = true
parking_lot.workspace = true
tokio.workspace = true
webrtc.workspace = true
[target.'cfg(target_os = "linux")'.dependencies]
# dlopen/dlsym for the PulseAudio and ALSA backends: no link-time dependency
# on libpulse/libasound, so the prebuilt addon loads on systems without them.
libc.workspace = true
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys.workspace = true