#[repr(transparent)]pub struct AVAudioEnvironmentOutputType(pub NSInteger);AVAudioEnvironmentNode only.Expand description
Types of output for AVAudio3DMixingRenderingAlgorithmAuto
The output type determines the rendering method for any input bus using AVAudio3DMixingRenderingAlgorithmAuto.
AVAudioEnvironmentOutputTypeAuto Automatically detect playback route and pick the correct output type when possible. Wired output defaults to AVAudioEnvironmentOutputTypeHeadphones and Manual Rendering with a two-channel output layout defaults to AVAudioEnvironmentOutputTypeExternalSpeakers.
AVAudioEnvironmentOutputTypeHeadphones Render for headphones.
AVAudioEnvironmentOutputTypeBuiltInSpeakers Render for built-in speakers on the current hardware. The output will not be suitable for playback on other hardware. On iOS devices, the rendering may be specific to device orientation. Manual Rendering modes may not provide the intended rendering if the orientation changes between rendering the audio and playing it back.
AVAudioEnvironmentOutputTypeExternalSpeakers Render for external speakers based on the environment node’s output channel layout.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVAudioEnvironmentOutputType
impl AVAudioEnvironmentOutputType
pub const Auto: Self
pub const Headphones: Self
pub const BuiltInSpeakers: Self
pub const ExternalSpeakers: Self
Trait Implementations§
Source§impl Clone for AVAudioEnvironmentOutputType
impl Clone for AVAudioEnvironmentOutputType
Source§fn clone(&self) -> AVAudioEnvironmentOutputType
fn clone(&self) -> AVAudioEnvironmentOutputType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AVAudioEnvironmentOutputType
impl Debug for AVAudioEnvironmentOutputType
Source§impl Hash for AVAudioEnvironmentOutputType
impl Hash for AVAudioEnvironmentOutputType
Source§impl Ord for AVAudioEnvironmentOutputType
impl Ord for AVAudioEnvironmentOutputType
Source§fn cmp(&self, other: &AVAudioEnvironmentOutputType) -> Ordering
fn cmp(&self, other: &AVAudioEnvironmentOutputType) -> 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 AVAudioEnvironmentOutputType
impl PartialEq for AVAudioEnvironmentOutputType
Source§fn eq(&self, other: &AVAudioEnvironmentOutputType) -> bool
fn eq(&self, other: &AVAudioEnvironmentOutputType) -> bool
self and other values to be equal, and is used by ==.