Package-level declarations

Types

Link copied to clipboard
actual class Audio : AudioBuilder

Play audio from a url (String).

actual class Audio

Play audio from a url (String).

expect class Audio

Play audio from a url (String).

actual class Audio : AudioBuilder
actual class Audio : AudioBuilder
actual class Audio : AudioBuilder
Link copied to clipboard
interface AudioBuilder

A common interface to enable multiplatform audio.

Link copied to clipboard
actual class AudioByte

Play audio from a local file path or a Compose Resource (String).

Link copied to clipboard
Link copied to clipboard
sealed class AudioState
Link copied to clipboard

This API is not considered 'production' until reaching version 1.0.0 or higher

Link copied to clipboard
typealias MixerChannel = Channel<String>

A version of Channel used to play sounds on a SoundBoard

Link copied to clipboard
actual class SoundBoard(context: Any?) : SoundBoardBuilder
actual class SoundBoard(context: Any?)
expect class SoundBoard(context: Any?) : SoundBoardBuilder

Creates a standard SoundBoard format to replicate across all platforms

actual class SoundBoard(context: Any?) : SoundBoardBuilder
actual class SoundBoard(context: Any?) : SoundBoardBuilder
actual class SoundBoard(context: Any?) : SoundBoardBuilder
Link copied to clipboard

Creates a standard SoundBoard format to replicate across all platforms

Link copied to clipboard
class SoundByte(val name: String, val localPath: String)

Used to associate a name with a file resource in preparation for SoundBoard

Functions

Link copied to clipboard
fun MixerChannel.play(soundName: String)

Used to play a SoundByte on a SoundBoard, but requires a SoundBoard.powerUp first