class lime.audio.FlashAudioContext

Instance Fields

function new(): Void

function close(buffer:AudioBuffer): Void

function createBuffer(?stream:Dynamic = null, ?context:Dynamic = null): AudioBuffer

function extract(buffer:AudioBuffer, target:Dynamic, length:Float, ?startPosition:Float = -1): Float

function getBytesLoaded(buffer:AudioBuffer): UInt

function getBytesTotal(buffer:AudioBuffer): Int

function getID3(buffer:AudioBuffer): Dynamic

function getIsBuffering(buffer:AudioBuffer): Bool

function getLength(buffer:AudioBuffer): Float

function getURL(buffer:AudioBuffer): String

function load(buffer:AudioBuffer, stream:Dynamic, ?context:Dynamic = null): Void

function loadCompressedDataFromByteArray(buffer:AudioBuffer, bytes:Dynamic, bytesLength:UInt): Void

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

function play(buffer:AudioBuffer, ?startTime:Float = 0, ?loops:Int = 0, ?sndTransform:Dynamic = null): Dynamic