Constructor

new()

Methods

@:value({ context : null, stream : null })createBuffer(?stream:Dynamic, ?context:Dynamic):AudioBuffer

@:value({ startPosition : -1 })extract(buffer:AudioBuffer, target:Dynamic, length:Float, startPosition:Float = -1):Float

@:value({ context : null })load(buffer:AudioBuffer, stream:Dynamic, ?context:Dynamic):Void

@:value({ sampleRate : 44100, stereo : true, format : null })loadPCMFromByteArray(buffer:AudioBuffer, bytes:Dynamic, samples:UInt, ?format:String, stereo:Bool = true, sampleRate:Float = 44100):Void

@:value({ sndTransform : null, loops : 0, startTime : 0 })play(buffer:AudioBuffer, startTime:Float = 0, loops:Int = 0, ?sndTransform:Dynamic):Dynamic