SoundChannel:setPosition
From GiderosMobile
Available since: Gideros 2011.6
Class: SoundChannel
Description
Sets the current playback position in miliseconds. <syntaxhighlight lang="lua"> SoundChannel:setPosition(position) </source>
Parameters
position: (number) position of the channel to set in miliseconds
- SoundChannel:getPitch
- SoundChannel:getPosition
- SoundChannel:getStreamId
- SoundChannel:getVolume
- SoundChannel:isLooping
- SoundChannel:isPaused
- SoundChannel:isPlaying
- SoundChannel:setEffect
- SoundChannel:setLooping
- SoundChannel:setPaused
- SoundChannel:setPitch
- SoundChannel:setPosition
- SoundChannel:setVolume
- SoundChannel:setWorldPosition
- SoundChannel:stop