summaryrefslogtreecommitdiffstats
path: root/include/system
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-09-09 10:39:54 -0700
committerEric Laurent <elaurent@google.com>2013-09-09 15:42:31 -0700
commit04c12ca061cd4ffe79a8eb5d570c4830a0950c85 (patch)
tree8f6e0e38bf008c96c44e9371c73192af0a4abecc /include/system
parentf34861346d5c207912075fba9874090e4c947869 (diff)
downloadsystem_core-04c12ca061cd4ffe79a8eb5d570c4830a0950c85.zip
system_core-04c12ca061cd4ffe79a8eb5d570c4830a0950c85.tar.gz
system_core-04c12ca061cd4ffe79a8eb5d570c4830a0950c85.tar.bz2
Add HOTWORD audio source to audio.h
- This is a complimentary change to the one adding this new source to MediaRecorder.java Bug: 10640877. Change-Id: Ie213e82b5a60dad2a277cef367c2f5e4df70df06
Diffstat (limited to 'include/system')
-rw-r--r--include/system/audio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/system/audio.h b/include/system/audio.h
index b90f4a9..aa7ac02 100644
--- a/include/system/audio.h
+++ b/include/system/audio.h
@@ -72,6 +72,11 @@ typedef enum {
/* play the mix captured by this audio source. */
AUDIO_SOURCE_CNT,
AUDIO_SOURCE_MAX = AUDIO_SOURCE_CNT - 1,
+ AUDIO_SOURCE_HOTWORD = 1999, /* A low-priority, preemptible audio source for
+ for background software hotword detection.
+ Same tuning as AUDIO_SOURCE_VOICE_RECOGNITION.
+ Used only internally to the framework. Not exposed
+ at the audio HAL. */
} audio_source_t;
/* special audio session values