feat #14740: play back calls
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user