audio: When the system load is high, there is a high probability of popping...
audio: When the system load is high, there is a high probability of popping sound when playing AudioTrack created with ToneGenerator. When creating the AudioTrack with ToneGenerator, the frame count used is 0. The frame count calculated by Threads is too small, leading to a low tolerance for the AudioTrack thread runnable, which can easily result in insufficient data being written as 0 data. Bug: 406127575 Test: 1. Incoming call in the game scene. 2. Answer the call and then hang up. 3. Observe the hang-up sound. Flag: EXEMPT bug fix Signed-off-by:v-chongyin <v-chongyin@xiaomi.com> (cherry picked from https://android-review.googlesource.com/q/commit:63e4d8712238eba979a78d6d2673e836ba193f75) Merged-In: If2551f85d20fcf79f4422670c71d79d9febe89db Change-Id: If2551f85d20fcf79f4422670c71d79d9febe89db
Loading
Please register or sign in to comment