Garry's Mod Wiki

IGModAudioChannel:GetBufferedTime

  number IGModAudioChannel:GetBufferedTime()

Description

Returns the buffered time of the sound channel in seconds, for online streaming sound channels. (sound.PlayURL)

For offline channels this will be equivalent to IGModAudioChannel:GetLength.

Returns

1 number
The current buffered time of the stream, in seconds.