pub unsafe extern "C" fn SoapySDRDevice_activateStream(
    device: *mut SoapySDRDevice,
    stream: *mut SoapySDRStream,
    flags: c_int,
    timeNs: c_longlong,
    numElems: usize
) -> c_int
Expand description

Activate a stream. Call activate to prepare a stream before using read/write(). The implementation control switches or stimulate data flow.

The timeNs is only valid when the flags have SOAPY_SDR_HAS_TIME. The numElems count can be used to request a finite burst size. The SOAPY_SDR_END_BURST flag can signal end on the finite burst. Not all implementations will support the full range of options. In this case, the implementation returns SOAPY_SDR_NOT_SUPPORTED.

\param device a pointer to a device instance \param stream the opaque pointer to a stream handle \param flags optional flag indicators about the stream \param timeNs optional activation time in nanoseconds \param numElems optional element count for burst control \return 0 for success or error code on failure