Function soapysdr_sys::SoapySDRDevice_setDCOffset
source · pub unsafe extern "C" fn SoapySDRDevice_setDCOffset(
device: *mut SoapySDRDevice,
direction: c_int,
channel: usize,
offsetI: f64,
offsetQ: f64
) -> c_int
Expand description
Set the frontend DC offset correction. \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 offsetI the relative correction (1.0 max) \param offsetQ the relative correction (1.0 max) \return an error code or 0 for success