Class createjs.Sound.BufferAudioPlayer
Extends
.
Defined in: sound.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A class that implements the createjs.Sound.Player interface with the WebAudio
API without using HTMLAudioElement objects.
|
Method Attributes | Method Name and Description |
---|---|
handleLoad(loader, buffer)
|
|
play_(interrupt, delay, offset, loop, volume, pan)
|
|
setMute_(mute)
|
|
setSprite_(id, offset, duration)
|
|
setVolume_(volume)
|
|
stop_()
|
Class Detail
createjs.Sound.BufferAudioPlayer(item)
A class that implements the createjs.Sound.Player interface with the WebAudio
API without using HTMLAudioElement objects. This player needs to decode ALL
audio data before playing it and it takes more memory than other players.
- Parameters:
- {createjs.Loader.Item} item
Method Detail
handleLoad(loader, buffer)
- Parameters:
- loader
- buffer
play_(interrupt, delay, offset, loop, volume, pan)
- Parameters:
- interrupt
- delay
- offset
- loop
- volume
- pan
setMute_(mute)
- Parameters:
- mute
setSprite_(id, offset, duration)
- Parameters:
- id
- offset
- duration
setVolume_(volume)
- Parameters:
- volume
stop_()