···2020#endif
21212222/*!
2323- * @brief Create SLAM sinks to record samples in EuRoC format.
2323+ * Create SLAM sinks to record samples in EuRoC format.
2424 *
2525 * @param xfctx Frame context for the sinks.
2626 * @param record_path Directory name to save the dataset or NULL for a default based on the current datetime.
···3434euroc_recorder_create(struct xrt_frame_context *xfctx, const char *record_path, int cam_count, bool record_from_start);
35353636/*!
3737+ * Start recording samples sent to the recorder sinks.
3838+ *
3939+ * @param er The recorder sinks returned by @ref euroc_recorder_create
4040+ */
4141+void
4242+euroc_recorder_start(struct xrt_slam_sinks *er_sinks);
4343+4444+/*!
4545+ * Stop recording samples sent to the recorder sinks. You can start and
4646+ * stop as many times as you like.
4747+ *
4848+ * @param er The recorder sinks returned by @ref euroc_recorder_create
4949+ */
5050+void
5151+euroc_recorder_stop(struct xrt_slam_sinks *er_sinks);
5252+5353+/*!
3754 * Add EuRoC recorder UI button to start recording after creation.
3855 *
3956 * @param er The sinks returned by @ref euroc_recorder_create
···4158 * @param prefix Prefix in case you have multiple recorders, otherwise pass an empty string
4259 */
4360void
4444-euroc_recorder_add_ui(struct xrt_slam_sinks *er, void *root, const char *prefix);
6161+euroc_recorder_add_ui(struct xrt_slam_sinks *er_sinks, void *root, const char *prefix);
45624663#ifdef __cplusplus
4764}