summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-09-12 00:14:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-12 00:14:37 +0000
commit53dc297dd685aa7498203fddb3f85e60f2cbc7df (patch)
treec6a09085fb712ded37d47ea2cc45960e558f85ca
parent67b00d8b2d96e8133c249bcbc0fb63c49e10e022 (diff)
parent04c12ca061cd4ffe79a8eb5d570c4830a0950c85 (diff)
downloadcore-53dc297dd685aa7498203fddb3f85e60f2cbc7df.tar.gz
Merge "Add HOTWORD audio source to audio.h" into klp-devandroid-4.4_r0.7
-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 b90f4a90e..aa7ac021a 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