diff options
| author | 2022-11-22 23:26:19 +0000 | |
|---|---|---|
| committer | 2022-12-01 17:40:13 +0000 | |
| commit | 3959b354c5435470bd29731a949ae552b1a21e39 (patch) | |
| tree | 7bed75d0d1dc422f5d5a6eaa10b3e38301066667 /libs/androidfw/StringPool.cpp | |
| parent | b769860c31cec33df924204c62d555aa1bf26e88 (diff) | |
Allow setting buffer length for HotwordAudioStreamManager
A HotwordDetectionService can specify a buffer length for each
HotwordAudioStream in the HotwordDetectedResult by adding an int in the
HotwordAudioStream's metadata PersistableBundle, with the key
HotwordAudioStream.KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES.
If the value is not specified or is an invalid value, the default buffer
length is 2,560 bytes.
Bug: 257509629
Test: Manually with test app, verified with logs
Test: atest CtsVoiceInteractionTestCases
Change-Id: I28c7f21bdf7c00b62c9cc6c29153d79ce9d85286
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions