jian zhou 29987bef32 audio: fix no sound after switch ARC/eARC on/off [1/1]
PD#SWPL-153870

Problem:
it happened under run after switch ARC/eARC on/off.
root cause:it happened by the below flow:
1.audio hal set eARC format as ddp.
2.TDM start and trigger same source, it set eARC format as stereo pcm.
3.audio hal send ddp data to eARC device node,
but eARC format is pcm, clock is slow, and happened under run.

Solution:
when eARC open function is called, it isn't same source case,
we use format by the audio hal set.

Verify:
Android U T7C

Change-Id: I2295d7a4841b0580e1d768ce2f79313c5f669cbe
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-03-01 06:53:07 -08:00
2024-02-25 22:55:19 -07:00
2024-01-22 12:48:43 +08:00
S
Description
No description provided
118 MiB
Languages
C 98.9%
Perl 0.4%
Makefile 0.4%
Shell 0.2%