Garry's Mod Wiki

IGModAudioChannel:GetBitsPerSample

  number IGModAudioChannel:GetBitsPerSample()

Description

Retrieves the number of bits per sample of the sound channel.

Doesn't work for mp3 and ogg files.

Returns

1 number
Number of bits per sample, or 0 if unknown.