DO NOT MERGE: Add audio info to tv_input

Bug: 15177175
Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d
(cherry picked from commit 8b5714fe2f)
This commit is contained in:
Wonsik Kim 2014-05-23 17:22:04 +09:00
parent 5f3b7da796
commit ced2c37d05

View file

@ -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 {