-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google_rtc_audio_processing: Cache frame size from source/sink
Don't query the frame size every time it's used, cache it in the component struct to save a few cycles. This also permits a workaround: on MTL the mic stream lies about its format, claiming s26_le when it's really s32_le. We can leave the existing format error in place and just use our own configuration for now. Signed-off-by: Andy Ross <andyross@google.com>
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters