audio_hal: Change stream write size for ac3 test [1/1]

PD#TV-28959

Problem:
When standalone DD/DDP decoder is used for audio
hal, currently when stream writing size is bigger
than 1536 bytes, the data will not be fully consumed
and audio hal will crash when the decoder input
buffer overflow.

Solution:
Limit writing size for ac3 data.

Verify:
Verified with libHwAudio_dcvdec.so installed and
run with audio_client_test_ac3 on TM2.

Change-Id: I3a58d1124fc1562fd6a964501f4b02d6448020fd
diff --git a/src/test_ac3.c b/src/test_ac3.c
index c929e4a..3f96f87 100644
--- a/src/test_ac3.c
+++ b/src/test_ac3.c
@@ -20,7 +20,7 @@
 #include "audio_if.h"
 
 #define min(a, b) ((a) < (b) ? (a) : (b))
-#define WRITE_UNIT 4096
+#define WRITE_UNIT 1536
 
 static int test_stream(struct audio_stream_out *stream)
 {