Companion

object Companion

Functions

Link copied to clipboard
fun load(fileName: String): MusicStream

Loads a music stream from a file, which can be in WAV, OGG, or MP3 format. The loaded music stream should be unloaded with MusicStream.unload when it is no longer needed.

Link copied to clipboard
fun loadFromMemory(type: String, data: ERROR CLASS: Symbol not found for UByteArray): MusicStream

Loads a music stream from memory, which can be in WAV, OGG, or MP3 format. The loaded music stream should be unloaded with MusicStream.unload when it is no longer needed.