[][src]Function realsense_sys::rs2_create_config

pub unsafe extern "C" fn rs2_create_config(
    error: *mut *mut rs2_error
) -> *mut rs2_config

Create a config instance The config allows pipeline users to request filters for the pipeline streams and device selection and configuration. This is an optional step in pipeline creation, as the pipeline resolves its streaming device internally. Config provides its users a way to set the filters and test if there is no conflict with the pipeline requirements from the device. It also allows the user to find a matching device for the config filters and the pipeline, in order to select a device explicitly, and modify its controls before streaming starts.

\param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return rs2_config* A pointer to a new config instance