commit | 88d54da6215bb47f5b0ac6b0c548b6a76c9582bf | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Sep 11 11:53:50 2023 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon Sep 11 22:15:44 2023 +0000 |
tree | 8b7080ac8565a839655267350941fc461276eccf | |
parent | 49aecf0dba4b6e703d51fb2254476cad4ab60c7a [diff] |
Fix the format used by ThreadBase::toAudioPortConfig Since 'toAudioPortConfig' is used to communicate to the HAL, the emitted port config specification must use the HAL audio format, not the processing format. This is consistent with use of the 'format()' getter in other code, as it also returns the HAL format. Bug: 298175108 Test: atest audiosystem_tests Change-Id: I4a09a9f312a1415f7dcb7381a8198a9d60467388