summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/hardware/tv_input.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/hardware/tv_input.h b/include/hardware/tv_input.h
index f2d03f1..75aafce 100644
--- a/include/hardware/tv_input.h
+++ b/include/hardware/tv_input.h
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <hardware/hardware.h>
+#include <system/audio.h>
#include <system/window.h>
__BEGIN_DECLS
@@ -86,7 +87,13 @@ typedef struct tv_input_device_info {
/* TODO: Add capability if necessary. */
- /* TODO: Audio info */
+ /*
+ * Audio info
+ *
+ * audio_type == AUDIO_DEVICE_NONE if this input has no audio.
+ */
+ audio_devices_t audio_type;
+ char audio_address[AUDIO_DEVICE_MAX_ADDRESS_LEN];
} tv_input_device_info_t;
typedef enum {