audio: Image signal delay of 1.5 seconds when switching to AV source [1/2]

PD#TV-3067

Problem:
Image signal delay of 1.5 seconds when switching to AV source.

Solution:
1.add av audio control for audio patch.

Verify:
verified by x301

Change-Id: I3e820923a26439b3aeb9841562b81cd6d55ed4ea
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
This commit is contained in:
nengwen.chen
2019-03-20 21:10:40 +08:00
committed by Luke Go
parent 97ee458dc1
commit a4faaf428b
4 changed files with 31 additions and 17 deletions

View File

@@ -31,6 +31,15 @@ int aml_get_atv_audio_stable(
#endif
#ifdef CONFIG_AMLOGIC_MEDIA_TVIN_AVDETECT
extern int tvin_get_av_status(void);
extern const struct soc_enum av_audio_status_enum;
extern int aml_get_av_audio_stable(
struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol);
#endif
#ifdef CONFIG_AMLOGIC_MEDIA_TVIN_HDMI
extern int update_spdifin_audio_type(int audio_type);