SoundFieldExoplayerAudioOutput

class SoundFieldExoplayerAudioOutput : SpatializedExoplayerAudioOutput


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

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

Inherited functions

From androidx.xr.compose.subspace.media.SpatializedAudioOutput
open operator Boolean
equals(other: Any?)
open Int

Public constructors

SoundFieldExoplayerAudioOutput

Added in 1.0.0-alpha16
@RememberInComposition
SoundFieldExoplayerAudioOutput(
    session: Session,
    soundFieldAttributes: SoundFieldAttributes
)

Public properties

audioOutputProvider

open val audioOutputProviderAudioOutputProvider

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