ATTN_TO_SNDLEVEL Function

Converts an attenuation value to a sound level. This function is from the HL2SDK.

int ATTN_TO_SNDLEVEL(float attn)

Parameters

float attn

Attenuation value.

Return Value

Integer sound level.