Function soapysdr_sys::SoapySDRDevice_setGainElement
source · pub unsafe extern "C" fn SoapySDRDevice_setGainElement(
device: *mut SoapySDRDevice,
direction: c_int,
channel: usize,
name: *const c_char,
value: f64
) -> c_int
Expand description
Set the value of a amplification element 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 \param name the name of an amplification element \param value the new amplification value in dB \return an error code or 0 for success