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