From ced2c37d0579d9182c6b44fd50419209613c8c0a Mon Sep 17 00:00:00 2001 From: Wonsik Kim Date: Fri, 23 May 2014 17:22:04 +0900 Subject: [PATCH] DO NOT MERGE: Add audio info to tv_input Bug: 15177175 Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d (cherry picked from commit 8b5714fe2f3fbbab5bfc91db1a5c5018e6d4deab) --- include/hardware/tv_input.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/hardware/tv_input.h b/include/hardware/tv_input.h index f2d03f17..75aafcee 100644 --- a/include/hardware/tv_input.h +++ b/include/hardware/tv_input.h @@ -22,6 +22,7 @@ #include #include +#include #include __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 {