commit | 6b605f29f1d39b66a1f9a94b527df15900e39e6e | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Apr 27 17:40:26 2021 -0700 |
committer | Andy Hung <hunga@google.com> | Wed Apr 28 22:31:12 2021 -0700 |
tree | f69f831e013cee1e3592c04be03da8b9d545b02d | |
parent | 82fa4811144a3aaf6c7897507e351123fabb3811 [diff] |
AudioFlinger: Do not send down 0's on direct PCM track underrun Without HW pause, 0's were sent down in direct PCM track underrun. This might be OK for linear PCM, but for proportional/encapsulated PCM data this is not acceptable. We avoid adding any 0's. Test: directed test (see b/186596553) Bug: 34711969 Bug: 157682459 Bug: 161089206 Bug: 186596553 Merged-In: I398915d11c5a3c2e8775c68ca7717cd9f826ecf1 Change-Id: I398915d11c5a3c2e8775c68ca7717cd9f826ecf1