Function soapysdr_sys::SoapySDRDevice_getStreamMTU
source · pub unsafe extern "C" fn SoapySDRDevice_getStreamMTU(
device: *const SoapySDRDevice,
stream: *mut SoapySDRStream
) -> usize
Expand description
Get the stream’s maximum transmission unit (MTU) in number of elements. The MTU specifies the maximum payload transfer in a stream operation. This value can be used as a stream buffer allocation size that can best optimize throughput given the underlying stream implementation.
\param device a pointer to a device instance \param stream the opaque pointer to a stream handle \return the MTU in number of stream elements (never zero)