[][src]Function realsense_sys::rs2_create_playback_device

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

Creates a playback device to play the content of the given file \param[in] file Path to the file to play \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 plays data from the file, or null in case of failure