diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 5f01ada..79bca62 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -78,6 +78,12 @@ pub struct RecordingSession { /// (T4.4, FR-SPK-2). Never rewritten onto segments (FR-SPK-5); resolved /// at render/finalize time instead. pub speaker_names: Arc>>, + /// A few seconds of raw mic-only audio, captured once early in the + /// recording — used at `stop_recording` to voiceprint-match the mic + /// against the diarized speaker clusters so the mic speaker can be + /// auto-labeled "You" instead of a clustered "S1"/"S2". `None` when the + /// mic is disabled (same conditions as `mic_capture`). + pub mic_voice_sample: Option>, } /// Wraps the tray icon so it can be looked up from commands to update its