Function soapysdr_sys::SoapySDRDevice_setSampleRate
source · pub unsafe extern "C" fn SoapySDRDevice_setSampleRate(
device: *mut SoapySDRDevice,
direction: c_int,
channel: usize,
rate: f64
) -> c_int
Expand description
Set the baseband sample rate of the 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 rate the sample rate in samples per second \return an error code or 0 for success