<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioEnvironmentOutputType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVAudioEnvironmentOutputType"
  },
  "title" : "AVAudioEnvironmentOutputType"
}
-->

# AVAudioEnvironmentOutputType

The output types for using with the automatic 3D mixing rendering algorithm.

```
enum AVAudioEnvironmentOutputType
```

## Overview

The output type determines the rendering method for any input bus using [`AVAudio3DMixingRenderingAlgorithm.auto`](/documentation/AVFAudio/AVAudio3DMixingRenderingAlgorithm/auto). To configure the output type, set [`outputType`](/documentation/AVFAudio/AVAudioEnvironmentNode/outputType) on [`AVAudioEnvironmentNode`](/documentation/AVFAudio/AVAudioEnvironmentNode).

## Topics

### Output Types

[`AVAudioEnvironmentOutputType.auto`](/documentation/AVFAudio/AVAudioEnvironmentOutputType/auto)

Automatically detects the playback route and picks the correct output.

[`AVAudioEnvironmentOutputType.headphones`](/documentation/AVFAudio/AVAudioEnvironmentOutputType/headphones)

Renders the audio output for headphones.

[`AVAudioEnvironmentOutputType.builtInSpeakers`](/documentation/AVFAudio/AVAudioEnvironmentOutputType/builtInSpeakers)

Renders the audio output for built-in speakers on the current hardware.

[`AVAudioEnvironmentOutputType.externalSpeakers`](/documentation/AVFAudio/AVAudioEnvironmentOutputType/externalSpeakers)

Renders the audio output for external speakers according to the audio environment node’s output channel layout.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)