M2: tsc-audio, tsc-store and tsctl voice
- 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
This commit is contained in:
1 parent
301a543c5e
commit
90e05723da
20 files changed
+2379
-35
No files matched your search
+13
@@ -8,7 +8,9 @@ members = [
|
||||
"crates/proto/tsproto",
|
||||
"crates/proto/ts-bookkeeping",
|
||||
"crates/proto/tsclientlib",
|
||||
"crates/tsc-audio",
|
||||
"crates/tsc-model",
|
||||
"crates/tsc-store",
|
||||
"tools/tsctl",
|
||||
]
|
||||
default-members = [
|
||||
@@ -18,7 +20,9 @@ default-members = [
|
||||
"crates/proto/tsproto",
|
||||
"crates/proto/ts-bookkeeping",
|
||||
"crates/proto/tsclientlib",
|
||||
"crates/tsc-audio",
|
||||
"crates/tsc-model",
|
||||
"crates/tsc-store",
|
||||
"tools/tsctl",
|
||||
]
|
||||
|
||||
@@ -39,3 +43,12 @@ all = { level = "warn", priority = -1 }
|
||||
# The Init1 puzzle does a large modular exponentiation on connect; unoptimized
|
||||
# it takes seconds.
|
||||
opt-level = 3
|
||||
|
||||
[profile.dev]
|
||||
# Line tables (for backtraces) for workspace crates, no debug info for
|
||||
# dependencies: keeps target/ several times smaller. Override locally for
|
||||
# debugging with CARGO_PROFILE_DEV_DEBUG=true.
|
||||
debug = "line-tables-only"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
debug = false
|
||||
Reference in new issue
Block a user