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