diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-05-09 22:06:09 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-09 22:06:09 -0700 |
commit | d4f002c25109321a679dcea57e4d7e1d06833684 (patch) | |
tree | d79eb6880207d48c1d4c482cf7ce78ff2021afb6 /qahw_api | |
parent | 35e20d78ee2f2b5489ce2d4e55ebd825f9e9709f (diff) | |
parent | 3056979cf3d404d0ca0fa8777a9c75dcdb77f778 (diff) | |
download | android_hardware_qcom_audio-d4f002c25109321a679dcea57e4d7e1d06833684.tar.gz android_hardware_qcom_audio-d4f002c25109321a679dcea57e4d7e1d06833684.tar.bz2 android_hardware_qcom_audio-d4f002c25109321a679dcea57e4d7e1d06833684.zip |
Merge "hal: retrieve license info during init."
Diffstat (limited to 'qahw_api')
-rwxr-xr-x[-rw-r--r--] | qahw_api/inc/qahw_defs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qahw_api/inc/qahw_defs.h b/qahw_api/inc/qahw_defs.h index a33caf64..c708ce0a 100644..100755 --- a/qahw_api/inc/qahw_defs.h +++ b/qahw_api/inc/qahw_defs.h @@ -354,6 +354,15 @@ typedef struct qahw_mix_matrix_params { float mixer_coeffs[AUDIO_CHANNEL_COUNT_MAX][AUDIO_CHANNEL_COUNT_MAX]; } qahw_mix_matrix_params_t; + +#define QAHW_LICENCE_STR_MAX_LENGTH (64) +#define QAHW_PRODUCT_STR_MAX_LENGTH (64) +typedef struct qahw_license_params { + char product[QAHW_PRODUCT_STR_MAX_LENGTH + 1]; + int key; + char license[QAHW_LICENCE_STR_MAX_LENGTH + 1]; +} qahw_license_params_t; + typedef union { struct qahw_source_tracking_param st_params; struct qahw_sound_focus_param sf_params; @@ -367,6 +376,7 @@ typedef union { struct qahw_out_channel_map_param channel_map_params; struct qahw_device_cfg_param device_cfg_params; struct qahw_mix_matrix_params mix_matrix_params; + struct qahw_license_params license_params; } qahw_param_payload; typedef enum { @@ -385,6 +395,7 @@ typedef enum { QAHW_PARAM_DEVICE_CONFIG, /* PARAM to set device config */ QAHW_PARAM_OUT_MIX_MATRIX_PARAMS, QAHW_PARAM_CH_MIX_MATRIX_PARAMS, + QAHW_PARAM_LICENSE_PARAMS, } qahw_param_id; __END_DECLS |