-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
round capacity up to 4096 frames to get FAST capture path #183
Comments
Desired behaviour is that the capacity request is a minimum and should be rounded up to 4096 to ensure a FAST track is obtained. |
Workaround for a limitation in AudioFlinger on Legacy AAudio data path. INPUT stream capacity must be 4096 to get a FAST track. Fixes #183
Testing this requires requesting a capacity in an INPUT stream < 4096. Also on OC MR1 you should request PCM16 data format to get FAST track. The final stream should have performance mode LowLatency. |
This was fixed in Q with ag/7116429 |
An explicit buffer capacity request != 4096 can result in a Legacy AudioRecord stream not getting a FAST track.
This may be specific to P and earlier.
The text was updated successfully, but these errors were encountered: