commit | 67a823c8d96df3d55110d1207173e1f17d828993 | [log] [tgz] |
---|---|---|
author | Tim Yao <tim.yao@amlogic.com> | Tue Sep 29 14:51:37 2020 -0700 |
committer | Tim Yao <tim.yao@amlogic.com> | Tue Sep 29 14:52:33 2020 -0700 |
tree | 701a3ba92bbaf07e2678518b4aad2fca652ae88e | |
parent | 1b84e36c68e32806c4df9007c7217cbb8da33b04 [diff] |
aml_audio_hal: Improve audio_client_test. PD#SWPL-13795 Problem: In test code a big chunk of wav data are sent to audio hal. When MS12 is not enabled, such writing will be applied to ALSA driver write directly and it will cause ALSA pcm_write xrun. Solution: Limit the writing size and use audio HAL buffer size as a reference. Verify: Tested on T962e2 AB311 with no MS12 lib installed. Change-Id: I79f88fc84a54b8733a9016e4755d1105e8477198