feat(recording): RecordingSession.mic_activity for Phase 3 attribution (FR-SPK)

This commit is contained in:
iamdoubz committed 2026-07-14 00:04:54 -05:00
1 parent 185489fa18
commit 6d4204fb22
1 file changed
+7
+7
View File
@@ -85,6 +85,13 @@ pub struct RecordingSession {
/// 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<Arc<audio::VoiceSample>>,
/// Phase 3 (FR-SPK): per-100ms timeline of when the mic (the user, "You")
/// was speaking, in `audio.wav` frame time. `stop_recording` turns it into
/// "You" spans and diarizes the far side with those ranges masked out, so
/// the mic is never clustered. `None` when the mic is disabled (same
/// conditions as `mic_capture`); then attribution falls back to the
/// voiceprint pass.
pub mic_activity: Option<Arc<audio::MicActivity>>,
/// Live notes redesign: raw user-authored notes accumulated *during* the
/// recording (freeform text + per-moment annotations) — see
/// `models::ManualNotes`. Mutated by `update_live_notes`/`set_segment_note`