mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 10:05:19 +00:00
Compare the mixer control values set by the user with the values retrieved from the hardware, and log a warning if they do not match. This check is meaningful because of the integer division involved in converting between percentage and hardware values in tinyalsa, which can lead to small discrepancies due to rounding. Bug: 375030900 Test: build locally Change-Id: If396a5cedc768f2bab5db055b5cf875143e3c23b Signed-off-by: Jindong Yue <jindong.yue@nxp.com>