Move the TeamSpeak implementation into src/ts
ts_link.rs, voice.rs, book.rs, ts_session/, versions.rs and identity.rs move under crates/voelin-core/src/ts (git mv, so git log --follow keeps their history). voelin_core::versions and voelin_core::identity are voelin_core::ts::versions and voelin_core::ts::identity now; the UI and voelinctl follow with the new paths. Nothing else changes: the module declarations, the use paths and the path of Versions.csv are the only edits to the moved files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
362e2b9da1
commit
029b8464b7
26 files changed
+74
-49
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ crosses its boundary are the plain types of `voelin_audio::packet`:
|
||||
|
||||
The transport adapter converts between these and its wire format; for the
|
||||
TeamSpeak connection that is `out_audio` and `voice_packet` in
|
||||
`voelin-core/src/voice.rs`, the only place that builds TeamSpeak audio packets
|
||||
`voelin-core/src/ts/voice.rs`, the only place that builds TeamSpeak audio packets
|
||||
from `EncodedVoice` or reads them into `VoicePacket`s (codecs other than Opus
|
||||
are dropped there, as the jitter buffer never played them). The audio thread,
|
||||
the session and the mixer see only the types above, and so does the link's
|
||||
|
||||
+2
-2
@@ -162,7 +162,7 @@ installs keep `settings.db` next to the executable; point `--from` at it.
|
||||
|
||||
## What Voelin does
|
||||
|
||||
`voelin_core::identity` reads and writes these forms; `voelinctl` drives it:
|
||||
`voelin_core::ts::identity` reads and writes these forms; `voelinctl` drives it:
|
||||
|
||||
```
|
||||
voelinctl identity import --auto [--dry-run] [--store <db>]
|
||||
@@ -175,7 +175,7 @@ voelinctl identity export <id> <path> [--store <db>]
|
||||
`<data dir>/voelin/client.db`, so the CLI and the app share identities.
|
||||
|
||||
**On every start** the app does the same as `import --auto`
|
||||
(`voelin_core::identity::import_new`): identities found in the default
|
||||
(`voelin_core::ts::identity::import_new`): identities found in the default
|
||||
locations that the client database does not have yet are added, the files
|
||||
are only read. The user should appear as on the official client, so the
|
||||
identity the official client uses by default (field 5 of its payload, below;
|
||||
|
||||
Reference in new issue
Block a user