commit | 118c2610107f308c539a3f83d5e969aa8834b572 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Tue Mar 21 23:04:57 2023 +0000 |
committer | jiabin <jiabin@google.com> | Tue Mar 21 23:07:40 2023 +0000 |
tree | 74b990f4034f0bdd360221d32786ecb73436b305 | |
parent | 960c33c599f49c7601dc66888862d61b99452860 [diff] |
AHAL: fix USB HAL issues with reporting device capabilities. 1. The card and device must be specified before reading device info. 2. Map PcmType::FIXED_Q_8_24 to PCM_FORMAT_S24_LE. Map PcmType::INT_24_BIT to PCM_FORMAT_S24_3LE. Bug: 266216550 Test: atest VtsHalAudioCoreTargetTest Change-Id: Ib48538d01bc980524e2c4c5b221f6d7e479beba6