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)
Loading
Please register or sign in to comment