#[repr(C)]pub struct AudioHardwareIOProcStreamUsage {
pub mIOProc: NonNull<c_void>,
pub mNumberStreams: u32,
pub mStreamIsOn: [u32; 1],
}Expand description
This structure describes which streams a given AudioDeviceIOProc will use. It is used in conjunction with kAudioDevicePropertyIOProcStreamUsage. Field: mIOProc The IOProc whose stream usage is being specified. Field: mNumberStreams The number of streams being specified. Field: mStreamIsOn An array of UInt32’s whose length is specified by mNumberStreams. Each element of the array corresponds to a stream. A value of 0 means the stream is not to be enabled. Any other value means the stream is to be used.
See also Apple’s documentation
Fields§
§mIOProc: NonNull<c_void>§mNumberStreams: u32§mStreamIsOn: [u32; 1]Trait Implementations§
Source§impl Clone for AudioHardwareIOProcStreamUsage
impl Clone for AudioHardwareIOProcStreamUsage
Source§fn clone(&self) -> AudioHardwareIOProcStreamUsage
fn clone(&self) -> AudioHardwareIOProcStreamUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioHardwareIOProcStreamUsage
Source§impl PartialEq for AudioHardwareIOProcStreamUsage
impl PartialEq for AudioHardwareIOProcStreamUsage
Source§fn eq(&self, other: &AudioHardwareIOProcStreamUsage) -> bool
fn eq(&self, other: &AudioHardwareIOProcStreamUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioHardwareIOProcStreamUsage
Auto Trait Implementations§
impl !Send for AudioHardwareIOProcStreamUsage
impl !Sync for AudioHardwareIOProcStreamUsage
impl Freeze for AudioHardwareIOProcStreamUsage
impl RefUnwindSafe for AudioHardwareIOProcStreamUsage
impl Unpin for AudioHardwareIOProcStreamUsage
impl UnsafeUnpin for AudioHardwareIOProcStreamUsage
impl UnwindSafe for AudioHardwareIOProcStreamUsage
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