GAudio.GATTrack.GetGainForChannel C# (CSharp) Method

GetGainForChannel() public method

Current gain for the specified channel. Returns -1f if the channel doesn't exist.
public GetGainForChannel ( int channel ) : float
channel int
return float
        public float GetGainForChannel( int channel )
        {
            if( channel >= _gains.Length )
                return -1f;

            return _gains[ channel ];
        }