pub struct ProcessedAudioData {
pub samples: Vec<i16>,
pub info: AudioInfo,
}Expand description
Processed audio data ready for VAD analysis.
Contains the audio samples and metadata after processing and format conversion.
Fields§
§samples: Vec<i16>Audio samples as 16-bit integers
info: AudioInfoAudio metadata and properties
Trait Implementations§
Source§impl Clone for ProcessedAudioData
impl Clone for ProcessedAudioData
Source§fn clone(&self) -> ProcessedAudioData
fn clone(&self) -> ProcessedAudioData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessedAudioData
impl RefUnwindSafe for ProcessedAudioData
impl Send for ProcessedAudioData
impl Sync for ProcessedAudioData
impl Unpin for ProcessedAudioData
impl UnwindSafe for ProcessedAudioData
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