diff options
author | Eric Laurent <elaurent@google.com> | 2014-07-06 10:44:18 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-07-06 10:44:18 -0700 |
commit | db37858a171c101a2eeb5ce473391112e314856a (patch) | |
tree | 7fabb6b052e70abee77caec6e229b01ff64618dd /include | |
parent | 019b8ece22e07e284e6bb0e83bd22ace4524a014 (diff) | |
download | system_core-db37858a171c101a2eeb5ce473391112e314856a.zip system_core-db37858a171c101a2eeb5ce473391112e314856a.tar.gz system_core-db37858a171c101a2eeb5ce473391112e314856a.tar.bz2 |
sound trigger: add sound model and key phrase IDs.
Bug: 12378680.
Change-Id: I93b1916151108ccf6eb625b0078e6ed574720b76
Diffstat (limited to 'include')
-rw-r--r-- | include/system/sound_trigger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/system/sound_trigger.h b/include/system/sound_trigger.h index 0270baa..57225e9 100644 --- a/include/system/sound_trigger.h +++ b/include/system/sound_trigger.h @@ -92,6 +92,7 @@ typedef int sound_model_handle_t; */ struct sound_trigger_sound_model { sound_trigger_sound_model_type_t type; /* model type. e.g. SOUND_MODEL_TYPE_KEYPHRASE */ + sound_trigger_uuid_t uuid; /* unique sound model ID. */ unsigned int data_size; /* size of opaque model data */ unsigned int data_offset; /* offset of opaque data start from head of struct (e.g sizeof struct sound_trigger_sound_model) */ @@ -99,6 +100,7 @@ struct sound_trigger_sound_model { /* key phrase descriptor */ struct sound_trigger_phrase { + unsigned int id; /* keyphrase ID */ unsigned int recognition_mode; /* recognition modes supported by this key phrase */ unsigned int num_users; /* number of users in the key phrase */ char locale[SOUND_TRIGGER_MAX_LOCALE_LEN]; /* locale - JAVA Locale style (e.g. en_US) */ |