commit | c4610b221db762d6272bf4bb828ad294ba667b0a | [log] [tgz] |
---|---|---|
author | Sidha Kothari <quic_sidhkoth@quicinc.com> | Wed Mar 06 17:22:30 2024 +0530 |
committer | Sidha Kothari <quic_sidhkoth@quicinc.com> | Thu Mar 07 02:36:53 2024 -0800 |
tree | 2af30a63e45391d29dfbb3070ee63625a96dc16c | |
parent | 3c7b78bac0528470f7eb697e546d30b11368a920 [diff] |
AHAL: Set cached volume in StreamOutPrimary::Open() - Noise is heard at the begning of AAudio playback. - out_write() is never called in case of AAudio due to which cached volume will never be set. And volume remains unmuted until setVolume is called next time. - Set cached volume on StreamOutPrimary::Open() and remove it from out_write(). Change-Id: I2860aaf71dd5b4d0768473ff23128bbd65a0c192 (cherry picked from commit 28f5035860b9c00aa3a7e5eb983ec9c4acc0d1b4)