lidecolor Posted March 21 Share Posted March 21 1.I use dumpsys media.audio_flinger ,Then I found that the HAL BUFFER SIZE is only 23040bytes, the audio frame is only 15376, and the number of audio frame buffers cannot control the maximum audio frame output. Quote Link to comment Share on other sites More sharing options...
maxmp Posted March 21 Share Posted March 21 What audio performance issues do you mean? Also app certainly can’t do anything about HAL buffer sizes. If you mean buffer sizes do not match- they can’t match as we can’t query it and there are 5-6-7 buffers between app and “hardware” anyway. Quote Link to comment Share on other sites More sharing options...
lidecolor Posted March 27 Author Share Posted March 27 On 3/21/2023 at 12:13 PM, maxmp said: What audio performance issues do you mean? Also app certainly can’t do anything about HAL buffer sizes. If you mean buffer sizes do not match- they can’t match as we can’t query it and there are 5-6-7 buffers between app and “hardware” anyway. There is a relationship between audio frames and delay, as far as I know, and in order to reduce the delay, the system will play with the smallest audio frame by default. The audio performance changes to delay, but the offload channel has 262144 audio frames. I hope to share this issue with you eagerly.😀 Quote Link to comment Share on other sites More sharing options...
maxmp Posted March 27 Share Posted March 27 @lidecolor if you mean latency, for music playback we don't want reduced latencies, instead music player should prefer "deep buffers", so app consumes less cpu/battery and has less chance for a stutter. Thanks! Quote Link to comment Share on other sites More sharing options...
lidecolor Posted April 12 Author Share Posted April 12 I mean audio performance improvements, the higher the performance the better, regardless of latency. Quote Link to comment Share on other sites More sharing options...
andrewilley Posted April 12 Share Posted April 12 5 hours ago, lidecolor said: I mean audio performance improvements You still have not said what audio problems you hearing. What audible effects can you hear when listening to music? Andre Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.