pub struct AudioHookRegister(/* private fields */);Expand description
Pointer to an audio hook register.
In future this should provides access to the current audio buffer contents.
Implementations§
Source§impl AudioHookRegister
impl AudioHookRegister
Sourcepub fn get(&self) -> NonNull<audio_hook_register_t>
pub fn get(&self) -> NonNull<audio_hook_register_t>
Returns the raw pointer.
Sourcepub fn output_nch(&self) -> u32
pub fn output_nch(&self) -> u32
Returns the current number of output channels.
Trait Implementations§
Source§impl Debug for AudioHookRegister
impl Debug for AudioHookRegister
Source§impl Hash for AudioHookRegister
impl Hash for AudioHookRegister
Source§impl PartialEq for AudioHookRegister
impl PartialEq for AudioHookRegister
impl Eq for AudioHookRegister
impl StructuralPartialEq for AudioHookRegister
Auto Trait Implementations§
impl Freeze for AudioHookRegister
impl RefUnwindSafe for AudioHookRegister
impl !Send for AudioHookRegister
impl !Sync for AudioHookRegister
impl Unpin for AudioHookRegister
impl UnwindSafe for AudioHookRegister
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