Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7434b72e authored by Oleg Lyovin's avatar Oleg Lyovin
Browse files

AudioFlinger: fallback to non-primary HW devs if getInputBufferSize failed



At the moment only primary audio module is requested for its
input buffer size, but it may not even support input streams,
while there may be other modules with input support.

This patch adds fallback that requests non-primary modules
if the primary module failed in the following precedence:

-- USB
-- Bluetooth
-- A2DP
-- Other modules
-- Remote submix

Test: manual
Change-Id: I54bae431745edecdf23ec09e59292dca6b434965
Signed-off-by: default avatarOleg Lyovin <ovlevin@salutedevices.com>
parent 422f94a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment