#[repr(transparent)]pub struct AVAudioEngineManualRenderingError(pub i32);AVAudioEngine only.Expand description
Error codes that could be returned from AVAudioEngine manual rendering mode methods,
e.g. enableManualRenderingMode:format:maximumFrameCount:error: and
renderOffline:toBuffer:error:.
Note that this is not a comprehensive list, and the underlying audio units could
return other error codes (e.g. see kAudioUnitErr_* in AudioToolbox/AUComponent.h) from these
methods as applicable.
AVAudioEngineManualRenderingErrorInvalidMode The operation cannot be performed because the engine is either not in manual rendering mode or the right variant of it.
AVAudioEngineManualRenderingErrorInitialized The operation cannot be performed because the engine is initialized (i.e. not stopped).
AVAudioEngineManualRenderingErrorNotRunning The operation cannot be performed because the engine is not running (i.e. not started).
See also Apple’s documentation
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
Source§impl Clone for AVAudioEngineManualRenderingError
impl Clone for AVAudioEngineManualRenderingError
Source§fn clone(&self) -> AVAudioEngineManualRenderingError
fn clone(&self) -> AVAudioEngineManualRenderingError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for AVAudioEngineManualRenderingError
impl Ord for AVAudioEngineManualRenderingError
Source§fn cmp(&self, other: &AVAudioEngineManualRenderingError) -> Ordering
fn cmp(&self, other: &AVAudioEngineManualRenderingError) -> 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 AVAudioEngineManualRenderingError
impl PartialEq for AVAudioEngineManualRenderingError
Source§fn eq(&self, other: &AVAudioEngineManualRenderingError) -> bool
fn eq(&self, other: &AVAudioEngineManualRenderingError) -> bool
self and other values to be equal, and is used by ==.