---
title: "SpatializedExoplayerAudioOutput"
description: "Allows spatializing Exoplayer audio output."
type: "class"
lastmod: "2026-07-19T07:47:45.836388Z"
---
## API Reference

> Source set: Android

```kotlin
public abstract class SpatializedExoplayerAudioOutput internal constructor() :
    SpatializedAudioOutput()
```

Allows spatializing Exoplayer audio output. This needs to be attached to a Composable via
[spatializedAudioOutput](/jetpack-compose/androidx.xr.compose/compose/functions/spatializedAudioOutput). The `AudioOutputProvider` contained in this class should be passed to
an Exoplayer.Builder instance.

## Properties

### audioOutputProvider

> Source set: Android

```kotlin
public abstract val audioOutputProvider: AudioOutputProvider
```

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