pub struct Frame {
pub data: Vec<i16>,
pub sample_rate: i32,
pub channels: usize,
}
Expand description
A SBC frame
Fields§
§data: Vec<i16>
Decoded audio
sample_rate: i32
Sample rate in hertz.
channels: usize
Number of channels in the frame.
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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