[][src]Function realsense_sys::rs2_pipeline_stop

pub unsafe extern "C" fn rs2_pipeline_stop(
    pipe: *mut rs2_pipeline,
    error: *mut *mut rs2_error
)

Stop the pipeline streaming. The pipeline stops delivering samples to the attached computer vision modules and processing blocks, stops the device streaming and releases the device resources used by the pipeline. It is the application's responsibility to release any frame reference it owns. The method takes effect only after \c start() was called, otherwise an exception is raised. \param[in] pipe pipeline \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored