From 5402eef86ee4df9051afb3bf8b3499602687dae3 Mon Sep 17 00:00:00 2001 From: John Tennant Date: Tue, 28 Jul 2026 01:06:52 -0400 Subject: [PATCH] Clarify voice registry documentation Signed-off-by: John Tennant --- desktop/src-tauri/src/huddle/tts_settings.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/desktop/src-tauri/src/huddle/tts_settings.rs b/desktop/src-tauri/src/huddle/tts_settings.rs index 14e9c7d7e..fa80b563e 100644 --- a/desktop/src-tauri/src/huddle/tts_settings.rs +++ b/desktop/src-tauri/src/huddle/tts_settings.rs @@ -81,11 +81,7 @@ pub struct VoiceProvenance { /// may have that backend installed. Resolution is always local. pub type VoicePreferences = Vec; -/// Cross-backend registry for voices known to this client. -/// -/// V1 contains Pocket entries only. Siri, Kokoro, imported voices, and -/// per-agent assignment can add entries or reuse the preference type without -/// changing the registry/settings boundary. +/// Bundled Pocket voices available without local imports. pub fn bundled_voice_registry() -> Vec { POCKET_VOICES .iter() @@ -107,6 +103,7 @@ pub fn bundled_voice_registry() -> Vec { .collect() } +/// Cross-backend registry of bundled and locally installed voices. pub fn voice_registry(app: &AppHandle) -> Vec { let mut registry = bundled_voice_registry(); match super::tts_voice_import::load_registry(app) {