Function

spatializedAudioOutput

Adds spatialized audio output to this Composable.

spatializedAudioOutput

Source set: Android
public fun SubspaceModifier.spatializedAudioOutput(
    spatializedAudioOutput: SpatializedAudioOutput
): SubspaceModifier

Adds spatialized audio output to this Composable. Use PointSourceExoplayerAudioOutput, SoundFieldExoplayerAudioOutput or SoundEffectPoolComponent.asSpatializedAudioOutput to create an object capable of spatializing audio.

Parameters

spatializedAudioOutput A SpatializedAudioOutput to be added to this Composable. A SpatializedAudioOutput should only be attached to one Composable at a time. If it is attached multiple times, its associated audio output will become head locked.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: