[][src]Function realsense_sys::rs2_config_enable_device_from_file_repeat_option

pub unsafe extern "C" fn rs2_config_enable_device_from_file_repeat_option(
    config: *mut rs2_config,
    file: *const c_char,
    repeat_playback: c_int,
    error: *mut *mut rs2_error
)

Select a recorded device from a file, to be used by the pipeline through playback. The device available streams are as recorded to the file, and \c resolve() considers only this device and configuration as available. This request cannot be used if enable_record_to_file() is called for the current config, and vise versa

\param[in] config A pointer to an instance of a config \param[in] file The playback file of the device \param[in] repeat_playback if true, when file ends the playback starts again, in an infinite loop; if false, when file ends playback does not start again, and should by stopped manually by the user. \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored