audio: Adjust default impl for non-RT audio behavior of AVD
The default implementation of the primary HAL is intended to work with the AVD. Current implementation of virtualized audio I/O on AVD falls behind actual hardware in terms of I/O timing. This is not tolerated by CTS tests which are tailored for real hardware. Make the primary HAL implementation more resilient to irregular ALSA read/write behavior on AVD by prolonging I/O time, or skipping operations when falling behind expected time. Bug: 302132812 Bug: 302587331 Test: atest CtsMediaAudioTestCases Change-Id: Ia290d9541a8a0e22d28024f7930ef554396d63c6
Loading
Please register or sign in to comment