IGModAudioChannel/GetSamplingRate

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added this page)
 
m (Fixed mistake. MHz >> Hz)
 
Line 8: Line 8:
 
{{Ret
 
{{Ret
 
|type=number
 
|type=number
|desc=The sample rate in MHz. This should always be 44100.
+
|desc=The sample rate in Hz. This should always be 44100.
 
}}
 
}}

Latest revision as of 19:17, 22 May 2019

 IGModAudioChannel:GetSamplingRate( )

Description

Returns the sample rate for currently playing sound.

Returns

number

The sample rate in Hz. This should always be 44100.
Personal tools
Navigation