Methods

close(buffer:AudioBuffer):Void

@: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

getID3(buffer:AudioBuffer):Dynamic

getLength(buffer:AudioBuffer):Float

getURL(buffer:AudioBuffer):String

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

loadCompressedDataFromByteArray(buffer:AudioBuffer, bytes:Dynamic, bytesLength:UInt):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