Function soapysdr_sys::SoapySDRDevice_getGain
source · pub unsafe extern "C" fn SoapySDRDevice_getGain(
device: *const SoapySDRDevice,
direction: c_int,
channel: usize
) -> f64
Expand description
Get the overall value of the gain elements in a 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 \return the value of the gain in dB