commit | 6a4a7732c80ac4611b3f5de39f062a3aad0a3d33 | [log] [tgz] |
---|---|---|
author | Eddy-SH Chen <eddy-sh.chen@mediatek.com> | Fri Feb 21 08:49:17 2025 -0800 |
committer | Hongguang Chen <hgchen@google.com> | Fri Feb 21 08:54:40 2025 -0800 |
tree | f0d00d21c790439b475f6b2907d0d14faf2b57cc | |
parent | c497ce727343975d7586e6a75ba94b86c167102d [diff] |
audio: fix getFrame overflow after long-term playback The aidl implementation of getFrameCount() encounters an overflow, causing the audio position to become abnormal. Since the return type of getFrameCount is long which size is 4 byptes, it will encounter an overflow after 12.43 hours of continuous playback. Bug: 387877971 Change-Id: I3bce2730e28ebfe3f2237cff94342aac2a2eb9ef