audio: zapper irdeto unmute invalid [1/1]
PD#OTT-58225
Problem:
The chip-id was not obtained correctly;
Solution:
Add call the interface.
Verify:
zapper-irdeto
Change-Id: I9517b4e70cd63d628084d69aec1e48d4c713bdd6
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
diff --git a/src/AML_Audio_Setting.cpp b/src/AML_Audio_Setting.cpp
index f330d31..6faa36e 100644
--- a/src/AML_Audio_Setting.cpp
+++ b/src/AML_Audio_Setting.cpp
@@ -773,6 +773,7 @@
{
pthread_mutex_lock(&g_volume_lock);
int ret = 0;
+ chip_id = aml_audio_mixer_int(AML_CHIP_ID, 0, false);
if (AML_CHIP_ID_S1A == chip_id)
ret = aml_audio_mixer_int(TDMA_GAIN, 0, false);
else