pub struct Audio;Implementations§
Source§impl Audio
impl Audio
pub fn open_output_stream( &self, config: AudioStreamConfig, ) -> Result<u64, String>
pub fn close_stream(&self, stream_id: u64) -> Result<(), String>
pub fn open_input_stream( &self, config: AudioStreamConfig, ) -> Result<u64, String>
pub fn write_frames_f32_planar( &self, stream_id: u64, frames: u32, channels: u16, data: Vec<Vec<f32>>, ) -> Result<(), String>
Auto Trait Implementations§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnwindSafe for Audio
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