SoundChannel
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The `SoundChannel` class is used to control and monitor a playing sound.
SoundChannel Events
- `Event.COMPLETE = "complete"` When the sound channel has finished playing, `Event.COMPLETE` event is dispatched.
{|-
| style="width: 50%;"|
Methods
SoundChannel:getPitch - returns the current pitch of the sound channel
SoundChannel:getPosition - returns the position of the current playback
SoundChannel:getVolume - returns the current volume of the sound channel
SoundChannel:isLooping - returns the looping state of the channel
SoundChannel:isPaused - returns the paused state of the channel
SoundChannel:isPlaying - returns the playing state for the sound channel
SoundChannel:setLooping - sets the looping state of the channel
SoundChannel:setPaused - sets the paused state of the channel
SoundChannel:setPitch - sets the pitch of the sound channel
SoundChannel:setPosition - sets the position of the current playback
SoundChannel:setVolume - sets the volume of the sound channel
SoundChannel:setWorldPosition -
SoundChannel:stop - stops the sound playing in the channel
| style="width: 50%;"|
Events
Constants
|}