Skip to main content

SoapySDRDevice_getStreamFormats

Function SoapySDRDevice_getStreamFormats 

Source
pub unsafe extern "C" fn SoapySDRDevice_getStreamFormats(
    device: *const SoapySDRDevice,
    direction: c_int,
    channel: usize,
    length: *mut usize,
) -> *mut *mut c_char
Expand description

Query a list of the available stream formats.

\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] length the number of format strings \return a list of allowed format strings. See SoapySDRDevice_setupStream() for the format syntax.