feat #14740: play back calls

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hauke
2026-11-10 13:37:47 +01:00
co-authored by Claude Opus 5.5
parent 8d757fd639
commit a74cfa5864
16 changed files with 1335 additions and 12 deletions
+6
View File
@@ -172,6 +172,10 @@ pub struct CallDetail {
/// Whether the transcript is being uploaded right now. Set by the app,
/// which tracks its uploads; `false` from [`CallDetail::of`].
pub uploading: bool,
/// Whether the call's audio is still on disk to be played
/// ([`crate::playback::audio_available`]). Set by the app; `false` from
/// [`CallDetail::of`], which does not look at the files.
pub audio_available: bool,
}
impl CallDetail {
@@ -209,6 +213,7 @@ impl CallDetail {
segments,
merges: merge_views(merges, &speaker_names),
uploading: false,
audio_available: false,
speaker_names,
}
}
@@ -646,6 +651,7 @@ mod tests {
"into_label": "Sprecher 1",
}],
"uploading": false,
"audio_available": false,
})
);
}