HiSilicon 3531 Chip Sound problem
1, the HDMI input sound and mic input sound through the AI to AO (Ai->ao), can come out sound.
2, the audio of the HDMI input is encoded and decoded (AI->AENC,ADEC->AO), can output sound, but the sound of the mic input is not responded to, what happened.
Proc Information in the audio section
# Cat/proc/umap/ao
[AO] Version: [hi3531_mpp_v1.0.8.0 Debug], Build time: [Nov 28 2012, 18:02:44]
-----AO DEV ATTR----------------------------------------------------------------
Aodev workmod sampr bitwid chncnt clksel sondmod poinum exflag frmnum
4 I2s_sla 48kHZ 16bit 2 0 stereo 480 0 50
5 I2s_mas 48kHZ 16bit 2 0 stereo 480 0 50
-----AO DEV STATUS--------------------------------------------------------------
Aodev intcnt frmtime dmachn dmareq tranlen DMAPhy0 DMAPhy1
4 108951 10002 5 5 3840 90f4c000 90f4cf00
5 108946 9828 6 6 3840 90f1b000 90f1bf00
-----AO CHN STATUS--------------------------------------------------------------
Aodev Aochn State Read Write bufemp u32data0 u32data1
4 0 Enable 19 19 43232 0 0
4 1 Enable 19 19 43232 0 0
5 0 Enable 19 19 43227 0 0
5 1 Enable 19 19 43227 0 0
#
#
# Cat/proc/umap/adec
[ADEC] Version: [hi3531_mpp_v1.0.8.0 Debug], Build Time[nov 28 2012, 18:02:44]
-----ADEC CHN ATTR--------------------------------------------------------------
Chnid pltype BufSize Attr sendcnt getcnt putcnt
0 g726 30 66854 66853 66853
#
#
# Cat/proc/umap/ai
[AI] Version: [hi3531_mpp_v1.0.8.0 Debug], Build time: [Nov 28 2012, 18:02:44]
-----AI DEV ATTR----------------------------------------------------------------
Aidev workmod sampr bitwid chncnt clksel sondmod poinum exflag frmnum
0 I2s_sla 48kHZ 16bit 2 0 Stereo 480 0 10
4 I2s_sla 48kHZ 16bit 2 0 Stereo 480 0 10
-----AI DEV STATUS--------------------------------------------------------------
Aidev intcnt frmtime dmachn dmareq tranlen isrtime DMAPhy0 DMAPhy1
0 112384 10004 0 0 3840 184 90e72000 90e72f00
4 112382 10007 4 4 3840 216 90efc000 90efcf00
-----AI CHN STATUS--------------------------------------------------------------
Aidev Aichn State Read Write bufful Aecao aecfail u32data0 u32data1
0 0 Enable 0 0 0 ( -1,-1) 0 fc17fc56 fa67fb35
0 1 Enable 0 0 0 ( -1,-1) 0 fc17fc57 fa67fb36
4 0 Enable 0 0 0 ( -1,-1) 0 10001 10000
4 1 Enable 0 0 0 ( -1,-1) 0 ff25fe84 df00e4
#
#
# Cat/proc/umap/aenc
[Aenc] Version: [hi3531_mpp_v1.0.8.0 Debug], Build Time[nov 28 2012, 18:02:44]
-----Aenc CHN ATTR--------------------------------------------------------------
Chnid pltype BufSize Attr1 Attr2 Attr3 ATTR4 ATTR5
0 g726 30
-----Aenc CHN STATUS------------------------------------------------------------
Chnid rcvfrm encok frmerr buffull getstrm RLSSTRM
0 68189 68189 0 0 68188 68188
#