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
tree: e1e1c6e998dc5f7582d1da1c7f20cd117bd0cba0
  1. include/
  2. src/
  3. Makefile