summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-09-24 04:19:16 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-24 04:19:16 +0000
commit4c58d8945281fa2a41e36b4ed3b93fdcf56c1bb4 (patch)
tree26a2951913ab67dd6a06dc8c69bafa2c6ffaa407 /include
parent0908b92ea9c4a1fe76568bcfb553a5eaa8064b06 (diff)
parent62e05407da5c36b6c4057e613ae6d4e3068a3721 (diff)
downloadsystem_core-4c58d8945281fa2a41e36b4ed3b93fdcf56c1bb4.zip
system_core-4c58d8945281fa2a41e36b4ed3b93fdcf56c1bb4.tar.gz
system_core-4c58d8945281fa2a41e36b4ed3b93fdcf56c1bb4.tar.bz2
am 62e05407: am f6cce347: audio: add HW hotword capture flag
* commit '62e05407da5c36b6c4057e613ae6d4e3068a3721': audio: add HW hotword capture flag
Diffstat (limited to 'include')
-rw-r--r--include/system/audio.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/system/audio.h b/include/system/audio.h
index 0eb28b0..9a25cfb 100644
--- a/include/system/audio.h
+++ b/include/system/audio.h
@@ -111,7 +111,8 @@ enum {
AUDIO_FLAG_SECURE = 0x2,
AUDIO_FLAG_SCO = 0x4,
AUDIO_FLAG_BEACON = 0x8,
- AUDIO_FLAG_HW_AV_SYNC = 0x10
+ AUDIO_FLAG_HW_AV_SYNC = 0x10,
+ AUDIO_FLAG_HW_HOTWORD = 0x20,
};
/* Do not change these values without updating their counterparts
@@ -710,8 +711,9 @@ typedef enum {
* attributes corresponding to the specified flags.
*/
typedef enum {
- AUDIO_INPUT_FLAG_NONE = 0x0, // no attributes
- AUDIO_INPUT_FLAG_FAST = 0x1, // prefer an input that supports "fast tracks"
+ AUDIO_INPUT_FLAG_NONE = 0x0, // no attributes
+ AUDIO_INPUT_FLAG_FAST = 0x1, // prefer an input that supports "fast tracks"
+ AUDIO_INPUT_FLAG_HW_HOTWORD = 0x2, // prefer an input that captures from hw hotword source
} audio_input_flags_t;
/* Additional information about compressed streams offloaded to