Variables

@:value(2)HAVE_CURRENT_DATA:Int = 2

@:value(4)HAVE_ENOUGH_DATA:Int = 4

@:value(3)HAVE_FUTURE_DATA:Int = 3

@:value(1)HAVE_METADATA:Int = 1

@:value(0)HAVE_NOTHING:Int = 0

@:value(0)NETWORK_EMPTY:Int = 0

@:value(1)NETWORK_IDLE:Int = 1

@:value(2)NETWORK_LOADING:Int = 2

@:value(3)NETWORK_NO_SOURCE:Int = 3

Methods

canPlayType(buffer:AudioBuffer, type:String):String

@:value({ urlString : null })createBuffer(?urlString:String):AudioBuffer

getBuffered(buffer:AudioBuffer):Dynamic

getCurrentSrc(buffer:AudioBuffer):String

getDuration(buffer:AudioBuffer):Float

getEnded(buffer:AudioBuffer):Bool

getError(buffer:AudioBuffer):Dynamic

getLoop(buffer:AudioBuffer):Bool

getMuted(buffer:AudioBuffer):Bool

getPaused(buffer:AudioBuffer):Bool

getPlayed(buffer:AudioBuffer):Dynamic

getPreload(buffer:AudioBuffer):String

getSeekable(buffer:AudioBuffer):Dynamic

getSeeking(buffer:AudioBuffer):Bool

getSrc(buffer:AudioBuffer):String

getVolume(buffer:AudioBuffer):Float

load(buffer:AudioBuffer):Void

pause(buffer:AudioBuffer):Void

play(buffer:AudioBuffer):Void

setAutoplay(buffer:AudioBuffer, value:Bool):Void

setCurrentTime(buffer:AudioBuffer, value:Float):Void

setDefaultPlaybackRate(buffer:AudioBuffer, value:Float):Void

setLoop(buffer:AudioBuffer, value:Bool):Void

setMuted(buffer:AudioBuffer, value:Bool):Void

setPlaybackRate(buffer:AudioBuffer, value:Float):Void

setPreload(buffer:AudioBuffer, value:String):Void

setSrc(buffer:AudioBuffer, value:String):Void

setVolume(buffer:AudioBuffer, value:Float):Void