commit | 5c7e78b8eeb5319e766db71c0e739cbc35a7a2d1 | [log] [tgz] |
---|---|---|
author | Jindong Yue <jindong.yue@nxp.com> | Mon Oct 21 11:18:08 2024 +0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Oct 22 21:01:38 2024 +0000 |
tree | 05a02f39d3160b8893c1c640094abe53c35c95ed | |
parent | 30338f9a6c45dcd71fd0ada29cdfd32212018ab3 [diff] |
audio: Fix the getters of the hardware mixer controls Since there is a local cache of hardware mixer controls (mHwGains and mHwVolumes), the getters do not need to query the mixer every time. Instead, we only read from the mixer when the cache is empty. Bug: 375030900 Test: atest VtsHalAudioCoreTargetTest Change-Id: I8de367cee503124acd485465dffadaadcbac88af Signed-off-by: Jindong Yue <jindong.yue@nxp.com>