Garry's Mod Wiki

IGModAudioChannel:GetSamplingRate

  number IGModAudioChannel:GetSamplingRate()

Description

Returns the sample rate for currently playing sound.

Returns

1 number
The sample rate in Hz. This should always be 44100.