Function soapysdr_sys::SoapySDRDevice_getDCOffset
source · pub unsafe extern "C" fn SoapySDRDevice_getDCOffset(
device: *const SoapySDRDevice,
direction: c_int,
channel: usize,
offsetI: *mut f64,
offsetQ: *mut f64
) -> c_int
Expand description
Get 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 [out] offsetI the relative correction (1.0 max) \param [out] offsetQ the relative correction (1.0 max) \return 0 for success or error code on failure