typedef struct _tdm_info_capture {
tdm_info_config dst_config;
tdm_transform transform;
- int oneshot;
+ tdm_capture_type type;
int frequency;
int flags;
} tdm_info_capture;
void *user_data);
/**
- * @brief The commit handler
+ * @brief The output commit handler
* @see output_set_commit_handler() function of #tdm_func_display
*/
typedef void (*tdm_output_commit_handler)(tdm_output *output, unsigned int sequence,
unsigned int tv_sec, unsigned int tv_usec,
void *user_data);
+
+/**
+ * @brief The layer commit handler
+ */
+typedef void (*tdm_layer_commit_handler)(tdm_layer *layer, unsigned int sequence,
+ unsigned int tv_sec, unsigned int tv_usec,
+ void *user_data);
+
/**
* @brief The done handler of a pp object
*/