audio: Fix Dolby TrueHD passthrough issue  [1/1]

PD#SWPL-195287

Problem:
There is audio gap when passthrough the Dolby TrueHD
data

Solution:
1. Reduce the size of each write to prevent encoder buffer overflow.
2. Close eARC device after closing stream.

Verify:
yocto-t5w

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