agcMode property

set agcMode (bool enable)

Enable or disable the internal digital AGC of the RTL2832.

Implementation

set agcMode(bool enable) {
  RtlSdrException.checkOpen(this);
  final result = bindings.setAgcMode(handle, enable ? 1 : 0);
  RtlSdrException.checkError(
      result, 'Failed to ${enable ? 'enable' : 'disable'} AGC mode');
}