Jump to content

Audio performance issues with Direct channel


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.😀

Link to comment
Share on other sites

  • 3 weeks later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...