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
1 file changed
tree: 701a3ba92bbaf07e2678518b4aad2fca652ae88e
  1. include/
  2. src/
  3. Makefile