pub struct PcmSender { /* private fields */ }Implementations§
Source§impl PcmSender
impl PcmSender
pub fn push(&self, samples: &[f32]) -> usize
pub fn queued_frames(&self) -> usize
pub fn capacity_frames(&self) -> usize
pub fn room_frames(&self) -> usize
pub fn channels(&self) -> u16
pub fn rate(&self) -> u32
pub fn is_connected(&self) -> bool
pub fn finish(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PcmSender
impl RefUnwindSafe for PcmSender
impl Send for PcmSender
impl Sync for PcmSender
impl Unpin for PcmSender
impl UnsafeUnpin for PcmSender
impl UnwindSafe for PcmSender
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