Change-Id: I7d9b8f148f703128619b45a29128979708d15861
TDM_CAPTURE_CAPABILITY_TRANSFORM = (1 << 5), /**< The capture device supports transform operation */
} tdm_capture_capability;
+/**
+ * @brief The capture type enumeration
+ */
+typedef enum {
+ TDM_CAPTURE_TYPE_ONESHOT = (1 << 0), /**< The oneshot capture */
+ TDM_CAPTURE_TYPE_STREAM = (1 << 1), /**< The stream capture */
+} tdm_capture_type;
+
/**
* @brief The output change enumeration of #tdm_output_change_handler
*/
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;