Tao.OpenAl SDK Documentation

Al.AL_GAIN Field

Indicates the gain (volume amplification) applied. The accepted range is 0.0 or above. A value of 1.0 means unattenuated/unchanged. Each division by 2 equals an attenuation of -6dB. Each multiplication by 2 equals an amplification of +6dB. A value of 0.0 is meaningless with respect to a logarithmic scale; it is interpreted as zero volume, the channel is effectively disabled.

[Visual Basic]
Public Const AL_GAIN As Integer = 4106
[C#]
public const int AL_GAIN = 4106;

See Also

Al Class | Tao.OpenAl Namespace