summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Mark Punzalan <markpun@google.com> 2022-11-22 23:26:19 +0000
committer Ivan Chiang <chiangi@google.com> 2022-12-02 08:51:14 +0000
commit27c97de8ae0e20278f444434bef82629cd1331e4 (patch)
treea9db0c981fcd1c36ae94481d87a407305840b075 /libs/androidfw/AssetsProvider.cpp
parent86d092aa7ea7ec66b3d7849dd2e6fd5a63a6e0a1 (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 Merged-In: I28c7f21bdf7c00b62c9cc6c29153d79ce9d85286
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions