AudioSource

interface AudioSource : Source

An interface that captures an audio source.

Inheritors

Properties

Link copied to clipboard
abstract var isMuted: Boolean

Specifies the muted indicates whether the media muted.

Functions

Link copied to clipboard
abstract suspend fun close(): Result<Unit>

Closes a source.

Link copied to clipboard
abstract suspend fun open(mixer: MediaMixer): Result<Unit>

Open a source.

Link copied to clipboard
abstract fun read(track: Int): MediaBuffer