[][src]Function realsense_sys::rs2_config_disable_stream

pub unsafe extern "C" fn rs2_config_disable_stream(
    config: *mut rs2_config,
    stream: rs2_stream,
    error: *mut *mut rs2_error
)

Disable a device stream explicitly, to remove any requests on this stream type. The stream can still be enabled due to pipeline computer vision module request. This call removes any filter on the stream configuration.

\param[in] config A pointer to an instance of a config \param[in] stream Stream type, for which the filters are cleared \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored