Skip to content
Commit c86c4cae authored by Bhalchandra Gajare's avatar Bhalchandra Gajare
Browse files

AudioAttributes: add ability to set Hotword mode for capture

Allow setting Hotword mode for capture usecases that want to use the low
power DSP based hotword source for capturing audio. This will be only
available for AudioSource.VOICE_RECOGNITION. There is no guarantee that
this mode will be available on the device. The caller must have the
CAPTURE_AUDIO_HOTWORD permission granted.

Bug 178317696
Test: Able to setHotwordMode from AGSA application. Confirmed
HAL receives the flag and audioSource correctly in open_input_stream.

Merged-In: I1fb80a047654e2abb8a587bf2f6ff82fcacd67b6
Change-Id: I1fb80a047654e2abb8a587bf2f6ff82fcacd67b6
(cherry picked from commit 25c32fbd)
parent f3284257
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment