[][src]Function realsense_sys::rs2_create_frame_queue

pub unsafe extern "C" fn rs2_create_frame_queue(
    capacity: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_frame_queue

create frame queue. frame queues are the simplest x-platform synchronization primitive provided by librealsense to help developers who are not using async APIs \param[in] capacity max number of frames to allow to be stored in the queue before older frames will start to get dropped \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return handle to the frame queue, must be released using rs2_delete_frame_queue