/// <summary> /// Function for setting the desired AGC behaviour. The AGC is active for as long as the reference level is below 0. The attack and decay times are automatically set to 1 if the values passed to the API are 0. /// </summary> /// <param name="agc"><see cref="Devices.SoftwareAgc"/> Gain control parameters</param> /// <returns>Returns true if parametars are set.</returns> public bool TrySoftwareAgc(SoftwareAgc agc) { return(G313DemodulatorApi.SetSoftAGC(GetHandle(), agc.ToNative())); }