Constructor

@:value({ loops : 0, length : null, offset : 0, buffer : null })new(?buffer:AudioBuffer, offset:Float = 0, ?length:Float, loops:Int = 0)

Variables

read onlylatency:Float

The estimated output latency, in miliseconds, for this AudioSource. If not possible to retrieve will return 0.

NOTE: This will return 0 if the source is not playing!

@:value(new Event<Void>())onComplete:_Event_Void_Void<() ‑> Void> = new Event<Void>()

Methods