audio: Datarate stream reproduce sound is glitches [1/1]

PD#SWPL-195598

Problem:
HDMI set s32EnforceTimeslice to 1,then decoder will not cache data.
If the size of the data we write is not an integer multiple of the
frame length, there will be glitches in sound.

Solution:
If the write data size is larger than the max input size of ms12,
the write size will be divided into single frame sizes.

Verify:
yocto-t6d

Change-Id: I5cf2a7ece75bb0fe26bebb30388342f46f2e19f5
Signed-off-by: yayun.shi <yayun.shi@amlogic.com>
3 files changed