class

PointClickEngine::Audio::Music

Inherits Reference < Object

Background music class for streaming audio

Constructors

new(name : String, file_path : String)
Source

Instance methods

cleanup

Explicit cleanup - do NOT use finalizer as it causes GC deadlocks with Raylib

Source
music
Source
music=(music : RAudio::Music | Nil)
Source
name
Source
name=(name : String)
Source
pause
Source
play(loop : Bool = true)
Source
playing
Source
playing=(playing : Bool)
Source
resume
Source
stop
Source
update
Source
volume
Source
volume=(volume : Float32)
Source