Skip to main content

SoapySDRDevice_getNumChannels

Function SoapySDRDevice_getNumChannels 

Source
pub unsafe extern "C" fn SoapySDRDevice_getNumChannels(
    device: *const SoapySDRDevice,
    direction: c_int,
) -> usize
Expand description

Get a number of channels given the streaming direction

\param device a pointer to a device instance \param direction the channel direction RX or TX \return the number of channels