Start native apps faster with the Composables CLI ->
Composable Function

rememberPointSourceExoplayerAudioOutput

Creates and remembers a PointSourceExoplayerAudioOutput with PointSourceParams.

rememberPointSourceExoplayerAudioOutput

Source set: Android
@Composable
public fun rememberPointSourceExoplayerAudioOutput(
    params: PointSourceParams
): PointSourceExoplayerAudioOutput

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

Parameters

params A PointSourceParams to modify the audio spatialization. Updating this will affect the spatialization currently playing audio and future playback requests.

Last updated: