avsync-lib: support canelation of audio rendering wait [2/3]
PD#TV-60263
Problem:
Async start will block audio hal, which will block audio sink.
Because the lock hold by audio sink output write(), other operation on
audio asink will be blocked on the lock until the async start finishes.
Solution:
audio sync will force msync to cancel the async start. So audio hal can
unblock the write() ASAP.
Verify:
TM2 + Platco
Signed-off-by: Song Zhao <song.zhao@amlogic.com>
Change-Id: I9e4c80839929501504c1ff56e1c93964dcc6a25e
8 files changed