HAL: Reject unsupported format with suggestions
The HAL is expected to reject queries to open a stream with unsupported
format.
When doing so, it should also return an appropriate similar format.
This behaviour was only implemented for telephony tx.
Implement it for all output devices, flags, config...
Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: I0ea1a4bf952527ac0711ed3cdd31c6aa53db4d2e
Signed-off-by:
Kevin Rocard <krocard@google.com>
Loading
Please register or sign in to comment