Garry's Mod Wiki

Revision Difference

IGModAudioChannel:SetTime#529187

<function name="SetTime" parent="IGModAudioChannel" type="classfunc"> <description> Sets the sound channel to specified time ( Rewind to that position of the song ). Does not work on online radio streams. Streamed sounds must have "noblock" parameter for this to work and <page>IGModAudioChannel:IsBlockStreamed</page> must return false. </description> <realm>Client</realm> <args> <arg name="secs" type="number">The time to set the stream to, in seconds.</arg> <arg name="dont_decode" type="boolean" default="false">Set to true to skip decoding to set time, and instead just seek to it which is faster. Certain streams do not support seeking and have to decode to the given position.</arg>⤶ </args> </function>