Class createjs.Sound.Player
Extends
.
Defined in: sound.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.Sound.Player(item)
The base class that plays audio.
|
Field Attributes | Field Name and Description |
---|---|
The duration of a sound portion to be played by this player in seconds.
|
|
Whether this player repeats playing a sound portion.
|
|
The start position of a sound portion to be played by this player in seconds.
|
|
The volume for this sound player.
|
Method Attributes | Method Name and Description |
---|---|
handleLoad(loader, buffer)
|
Class Detail
createjs.Sound.Player(item)
The base class that plays audio.
- Parameters:
- {createjs.Loader.Item} item
Field Detail
duration
The duration of a sound portion to be played by this player in seconds.
(This value is not always equal to the duration of the sound.)
item
loop
Whether this player repeats playing a sound portion.
offset
The start position of a sound portion to be played by this player in seconds.
volume
The volume for this sound player.
Method Detail
handleLoad(loader, buffer)
- Parameters:
- loader
- buffer