Audio: Fail to open mic capture pipeline [1/2]
PD#SWPL-54810
Problem:
Fail to open mic capture pipeline and the captured data is empty
Solution:
1. hw:0,1 is used as tdm device, so inport should be PROT_TDM.
2. The captured sample rate should be based on the incoming
configuration, The default is 16K.
3. The capture gain should be 1 by default, but adev->src_gain
is 0, so the captured data is empty.
4. Added capture self-verification client.
Verify:
T962E2-AB311
Change-Id: Ie4680eed3b6b0a63379f9464c15cd54d38b6bd72
Signed-off-by: shu.zhang <shu.zhang@amlogic.com>
3 files changed