7cae7ef3f5
- 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.
29 lines
742 B
TOML
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
|