#[repr(transparent)]pub struct AVAudioEngineManualRenderingStatus(pub NSInteger);AVAudioEngine only.Expand description
Status codes returned from the render call to the engine operating in manual rendering mode.
AVAudioEngineManualRenderingStatusError An error occurred when rendering and no data was returned. See the returned error code for the description of the error.
AVAudioEngineManualRenderingStatusSuccess All of the requested data was returned successfully.
AVAudioEngineManualRenderingStatusInsufficientDataFromInputNode
Applicable only to the input node, when it provides input data for rendering
(see AVAudioInputNode(setManualRenderingInputPCMFormat:inputBlock:)).
Indicates that not enough input data was returned by the input node to satisfy the
render request at the current time. The output buffer may contain data rendered by other
active sources in the engine’s processing graph.
AVAudioEngineManualRenderingStatusCannotDoInCurrentContext
The operation could not be performed now, but the client could retry later if needed.
This is usually to guard a realtime render operation (e.g. rendering through
manualRenderingBlock) when a reconfiguration of the engine’s internal state
is in progress.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVAudioEngineManualRenderingStatus
impl AVAudioEngineManualRenderingStatus
pub const Error: Self
pub const Success: Self
pub const InsufficientDataFromInputNode: Self
pub const CannotDoInCurrentContext: Self
Trait Implementations§
Source§impl Clone for AVAudioEngineManualRenderingStatus
impl Clone for AVAudioEngineManualRenderingStatus
Source§fn clone(&self) -> AVAudioEngineManualRenderingStatus
fn clone(&self) -> AVAudioEngineManualRenderingStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for AVAudioEngineManualRenderingStatus
impl Ord for AVAudioEngineManualRenderingStatus
Source§fn cmp(&self, other: &AVAudioEngineManualRenderingStatus) -> Ordering
fn cmp(&self, other: &AVAudioEngineManualRenderingStatus) -> 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 AVAudioEngineManualRenderingStatus
impl PartialEq for AVAudioEngineManualRenderingStatus
Source§fn eq(&self, other: &AVAudioEngineManualRenderingStatus) -> bool
fn eq(&self, other: &AVAudioEngineManualRenderingStatus) -> bool
self and other values to be equal, and is used by ==.