public final class AVAudioEnvironmentOutputType
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static long |
Auto |
static long |
BuiltInSpeakers |
static long |
ExternalSpeakers |
static long |
Headphones |
public static final long Auto
public static final long Headphones
public static final long BuiltInSpeakers
public static final long ExternalSpeakers