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: Oleg Lyovin <ovlevin@salutedevices.com>
Loading
Please register or sign in to comment