- tsc-audio: Opus voice/music encoder producing TeamSpeak voice packets, framer, rubato resampling, WAV I/O, tone/Goertzel helpers, cpal capture/playback over lock-free ring buffers; the vendored AudioHandler is the jitter buffer/mixer. - tsc-store: SQLite (bundled, WAL, 0600) with migrations for identities, bookmarks, settings and paged chat history; Secrets trait with memory and OS keyring backends. - tsctl voice send (WAV or tone, real time) / record (mix to WAV, --expect-tone check). The smoke test now includes a voice round-trip: 1 kHz tone ratio ~0.95 on TS3 and TS6. - Dev profile: no debug info for dependencies (target/ 16 GB -> 2.4 GB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
29 lines
741 B
TOML
29 lines
741 B
TOML
[package]
|
|
name = "tsc-audio"
|
|
version = "0.1.0"
|
|
description = "Voice pipeline: Opus encoding, framing, resampling, jitter buffer/mixer and audio devices."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[features]
|
|
default = ["device"]
|
|
# Audio device I/O through cpal (needs ALSA headers on Linux).
|
|
device = ["dep:cpal", "dep:rtrb"]
|
|
|
|
[dependencies]
|
|
cpal = { version = "0.18", optional = true }
|
|
hound = "3.5.1"
|
|
opus2 = "0.4"
|
|
rtrb = { version = "0.4.0", optional = true }
|
|
rubato = "5.0.0"
|
|
thiserror = "2.0.21"
|
|
tracing = "0.1.44"
|
|
tsclientlib = { path = "../proto/tsclientlib" }
|
|
tsproto-packets = { path = "../proto/tsproto-packets" }
|
|
|
|
[lints]
|
|
workspace = true
|