#[repr(transparent)]pub struct AudioServerPlugInIOOperation(pub u32);AudioServerPlugIn only.Expand description
The valid values for the inOperationID argument to the various IO methods.
This operation marks the beginning and the ending of the IO thread. Note that DoIOOperation() will never be called with this ID.
This operation marks the beginning and ending of each IO cycle. Note that DoIOOperation() will never be called with this ID.
This operation transfers the input data from the device’s ring buffer to the provided buffer in the stream’s native format. Note that this operation always happens in-place in the main buffer passed to DoIOOperation(). It is required that this operation be implemented if the AudioDevice has input streams.
This operation converts the input data from its native format to the canonical format.
This operation performs arbitrary signal processing on the input data in the canonical format.
This operation performs arbitrary signal processing on the output data in the canonical format.
This operation mixes the output data into the device’s ring buffer. Note that if a plug-in implements this operation, no further output operations will occur for that cycle. It is assumed that the device handles everything from there down including preparing the data for consumption by the hardware. Note also that this operation always happens in-place in the main buffer passed to DoIOOperation().
This operation processes the full mix of all clients’ data in the canonical format.
This operation converts the fully mixed data from the canonical format to the device’s native format.
This operation puts the data into the device’s ring buffer for consumption of the hardware. Note that this operation always happens in-place in the main buffer passed to DoIOOperation(). It is required that this operation be implemented if the AudioDevice has output streams.
See also Apple’s documentation
Tuple Fields§
§0: u32Implementations§
Source§impl AudioServerPlugInIOOperation
impl AudioServerPlugInIOOperation
pub const Thread: Self
pub const Cycle: Self
pub const ReadInput: Self
pub const ConvertInput: Self
pub const ProcessInput: Self
pub const ProcessOutput: Self
pub const MixOutput: Self
pub const ProcessMix: Self
pub const ConvertMix: Self
pub const WriteMix: Self
Trait Implementations§
Source§impl Clone for AudioServerPlugInIOOperation
impl Clone for AudioServerPlugInIOOperation
Source§fn clone(&self) -> AudioServerPlugInIOOperation
fn clone(&self) -> AudioServerPlugInIOOperation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AudioServerPlugInIOOperation
impl Debug for AudioServerPlugInIOOperation
Source§impl Encode for AudioServerPlugInIOOperation
Available on crate feature objc2 only.
impl Encode for AudioServerPlugInIOOperation
objc2 only.Source§impl Hash for AudioServerPlugInIOOperation
impl Hash for AudioServerPlugInIOOperation
Source§impl Ord for AudioServerPlugInIOOperation
impl Ord for AudioServerPlugInIOOperation
Source§fn cmp(&self, other: &AudioServerPlugInIOOperation) -> Ordering
fn cmp(&self, other: &AudioServerPlugInIOOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AudioServerPlugInIOOperation
impl PartialEq for AudioServerPlugInIOOperation
Source§fn eq(&self, other: &AudioServerPlugInIOOperation) -> bool
fn eq(&self, other: &AudioServerPlugInIOOperation) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AudioServerPlugInIOOperation
impl PartialOrd for AudioServerPlugInIOOperation
Source§impl RefEncode for AudioServerPlugInIOOperation
Available on crate feature objc2 only.
impl RefEncode for AudioServerPlugInIOOperation
objc2 only.