Function soapysdr_sys::SoapySDRDevice_setGainMode
source · pub unsafe extern "C" fn SoapySDRDevice_setGainMode(
device: *mut SoapySDRDevice,
direction: c_int,
channel: usize,
automatic: bool
) -> c_int
Expand description
Set the automatic gain mode on the chain. \param device a pointer to a device instance \param direction the channel direction RX or TX \param channel an available channel on the device \param automatic true for automatic gain setting \return an error code or 0 for success