pub struct RtAudioHandle { /* private fields */ }Expand description
A running real-time audio stream (the RealtimePluginRunner variant of
AudioHandle). Holds the device stream open and exposes the lock-free RtControl;
dropping it stops playback.
Like AudioHandle, it owns the thread-affine device stream and is therefore !Send.
Build the runner and its RtControl yourself (RealtimePluginRunner::new) if you need
the control half on a different thread than the stream.
Implementations§
Auto Trait Implementations§
impl !Freeze for RtAudioHandle
impl !RefUnwindSafe for RtAudioHandle
impl !Send for RtAudioHandle
impl !Sync for RtAudioHandle
impl !UnwindSafe for RtAudioHandle
impl Unpin for RtAudioHandle
impl UnsafeUnpin for RtAudioHandle
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