libaudiohal@aidl: Fix handling of stream config suggestion
The contract of 'DeviceHalInterface::open{Input|Output}Stream' states that in the case when the HAL suggests a config which is different from the provided one, the method must return 'BAD_VALUE' and fill out the suggested config. The framework then may make another attempt using the suggested config. This behavior was missing in libaudiohal@aidl prior to this change. Bug: 264712385 Test: atest CtsMediaAudioTestCases (cherry picked from commit 53e87ba3) Change-Id: I8c2b5e7ebaec1aefb92a3c3d7bf10f45d23e630f
Loading
Please register or sign in to comment