[][src]Function realsense_sys::rs2_create_record_device_ex

pub unsafe extern "C" fn rs2_create_record_device_ex(
    device: *const rs2_device,
    file: *const c_char,
    compression_enabled: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_device

Creates a recording device to record the given device and save it to the given file \param[in] device The device to record \param[in] file The desired path to which the recorder should save the data \param[in] compression_enabled Indicates if compression is enabled, 0 means false, otherwise true \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored \return A pointer to a device that records its data to file, or null in case of failure