> Documentation index: https://developer.android.com/reference/llms.txt

# SoundFieldExoplayerAudioOutput

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/subspace/media/SpatializedAudioOutput.kt+class:androidx.xr.compose.subspace.media.SoundFieldExoplayerAudioOutput) Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/xr-compose.md.txt#1.0.0-rc01)


```
class SoundFieldExoplayerAudioOutput : SpatializedExoplayerAudioOutput
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||
| ↳ | [androidx.xr.compose.subspace.media.SpatializedAudioOutput](https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/media/SpatializedAudioOutput.md.txt) |||
|   | ↳ | [androidx.xr.compose.subspace.media.SpatializedExoplayerAudioOutput](https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/media/SpatializedExoplayerAudioOutput.md.txt) ||
|   |   | ↳ | [androidx.xr.compose.subspace.media.SoundFieldExoplayerAudioOutput](https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/media/SoundFieldExoplayerAudioOutput.md.txt) |

*** ** * ** ***

Creates a `SpatializedExoplayerAudioOutput` from `SoundFieldAttributes`. When used with an ExoPlayer.Builder instance and `spatializedAudioOutput`, audio will be spatialized from the Composable it is attached to.

## Summary

| ### Public constructors |
|---|
| `@RememberInComposition SoundFieldExoplayerAudioOutput( session: Session, soundFieldAttributes: SoundFieldAttributes )` |

| ### Public properties |
|---|---|
| `open AudioOutputProvider` | `audioOutputProvider` An `AudioOutputProvider` that be passed to an ExoPlayer.Builder instance. |

### Inherited functions

From [androidx.xr.compose.subspace.media.SpatializedAudioOutput](https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/media/SpatializedAudioOutput.md.txt) `open operator Boolean` `equals(other: Any?)` `open Int` `hashCode()`

## Public constructors

### SoundFieldExoplayerAudioOutput

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/xr-compose.md.txt#1.0.0-rc01)

```
@RememberInComposition
SoundFieldExoplayerAudioOutput(
    session: Session,
    soundFieldAttributes: SoundFieldAttributes
)
```

## Public properties

### audioOutputProvider

```
open val audioOutputProvider: AudioOutputProvider
```

An `AudioOutputProvider` that be passed to an ExoPlayer.Builder instance.