pub struct SavedAudio {
pub path: String,
pub kind: String,
pub duration_ms: u64,
pub samples: usize,
pub srate: u32,
pub truncated: bool,
}Expand description
One WAV written by ProcessClient::save_audio_detailed: which side of
the call it holds, how much audio it contains, and whether the recording
hit the retention cap (only the newest
ringo_core::RECORDING_MAX_SECS seconds are kept).
Fields§
§path: StringThe WAV file path written.
kind: StringWhich side of the call: "sent" or "recv".
duration_ms: u64Recorded duration in milliseconds.
samples: usizeCaptured mono samples at srate.
srate: u32Sample rate in Hz.
truncated: boolWhether the recording reached the retention cap (the WAV holds only the newest audio).
Trait Implementations§
Source§impl Clone for SavedAudio
impl Clone for SavedAudio
Auto Trait Implementations§
impl Freeze for SavedAudio
impl RefUnwindSafe for SavedAudio
impl Send for SavedAudio
impl Sync for SavedAudio
impl Unpin for SavedAudio
impl UnsafeUnpin for SavedAudio
impl UnwindSafe for SavedAudio
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more