From 04c12ca061cd4ffe79a8eb5d570c4830a0950c85 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Mon, 9 Sep 2013 10:39:54 -0700 Subject: [PATCH] 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 --- include/system/audio.h | 5 +++++ 1 file changed, 5 insertions(+) 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