Package-level declarations

Types

Link copied to clipboard

Defines Ambisonics audio formats for spatial audio processing.

Link copied to clipboard

Defines standard audio channel layouts for spatial audio configurations.

Link copied to clipboard

Defines the fundamental spatial audio rendering mode for audio streams.

Link copied to clipboard

Represents audio format configuration for spatial audio processing.

Link copied to clipboard

AudioInterpolatorType is an enum that represents the fade type of how to fade the audio to the target volume during the fade operation by AudioPlayerController.

Link copied to clipboard
class AudioPlayerController : Closeable

A handle that is used to control audio playback,including playing, pausing, resuming, stopping an audio, and checking the playback status of an audio.

Link copied to clipboard
class AudioResourceConfig(mixerGroupID: String, ambisonicsType: AmbisonicsType = AmbisonicsType.NONE)

The configuration of com.pico.spatial.core.ecs.resource.AudioResource. This class is used to configure the audio resource with a mix group name which is hold by com.pico.spatial.core.ecs.resource.AudioMixerGroupResource which will be used by com.pico.spatial.core.ecs.AudioMixerGroupsComponent. The mixerGroupID can link com.pico.spatial.core.ecs.resource.AudioResource,com.pico.spatial.core.ecs.resource.AudioMixerGroupResource and com.pico.spatial.core.ecs.AudioMixerGroupsComponent together, so that user can control the volume and playbackRate of the audio resources as a group.

Link copied to clipboard

Container for streaming audio data buffers provided during AudioStreamDataCallback execution.

Link copied to clipboard

Configuration class for pcm audio stream playback and data handling.

Link copied to clipboard

Callback interface for providing audio stream data in pull mode.

Link copied to clipboard
class AudioStreamPlayerController : Closeable

Central controller for managing PCM audio stream playback.

Link copied to clipboard

Represents precise timing information for audio stream playback.

Link copied to clipboard

Defines how sound is emitted from an audio source and perceived within the spatial environment.

Link copied to clipboard

Defines how audio volume attenuates as the distance from the audio source increases.