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

Deactivate a stream. Call deactivate when not using using read/write(). The implementation control switches or halt data flow.

The timeNs is only valid when the flags have SOAPY_SDR_HAS_TIME. 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 deactivation time in nanoseconds \return 0 for success or error code on failure