Difference between revisions of "SoundChannel:getStreamId"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = SoundChannel:getStreamId() | (number) = SoundChannel:getStreamId() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === |
Latest revision as of 14:32, 13 July 2023
Available since: Gideros 2020.2
Class: SoundChannel
Description
Returns the stream id of the sound channel.
(number) = SoundChannel:getStreamId()
Return values
Returns (number) the sound channel stream id
- 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