自学内容网 自学内容网

高通---tinyalsa音频测试命令

handset:
tinymix “RX_MACRO RX0 MUX” “AIF1_PB”
tinymix “RX_CDC_DMA_RX_0 Channels” “One”
tinymix “RX INT0_1 MIX1 INP0” “RX0”
tinymix “RX INT0 DEM MUX” “CLSH_DSM_OUT”
tinymix “EAR_RDAC Switch” 1
tinymix “RDAC3_MUX” “RX1”
tinymix “RX_EAR Mode” “ON”
tinymix ‘RX_CDC_DMA_RX_0 Audio Mixer MultiMedia1’ 1

headphone
tinymix “RX_MACRO RX0 MUX” “AIF1_PB”
tinymix “RX_MACRO RX1 MUX” “AIF1_PB”
tinymix “RX_CDC_DMA_RX_0 Channels” “Two”
tinymix “RX INT0_1 MIX1 INP0” “RX0”
tinymix “RX INT1_1 MIX1 INP0” “RX1”
tinymix “RX INT0 DEM MUX” “CLSH_DSM_OUT”
tinymix “RX INT1 DEM MUX” “CLSH_DSM_OUT”
tinymix “RX_COMP1 Switch” 1
tinymix “RX_COMP2 Switch” 1
tinymix “HPHL_COMP Switch” 1
tinymix “HPHR_COMP Switch” 1
tinymix “HPHL_RDAC Switch” 1
tinymix “HPHR_RDAC Switch” 1
tinymix ‘RX_CDC_DMA_RX_0 Audio Mixer MultiMedia1’ 1

tinyplay /data/qianxun.wav

speaker
tinymix “RX HPH Mode” “CLS_AB”
tinymix “RX_MACRO RX0 MUX” “AIF1_PB”
tinymix “RX_CDC_DMA_RX_0 Channels” “One”
tinymix “RX INT2_1 MIX1 INP0” “RX0”
tinymix “AUX_RDAC Switch” 1

AMIC1:
tinymix ‘MultiMedia1 Mixer TX_CDC_DMA_TX_3’ 1
tinymix ‘TX DEC0 MUX’ ‘SWR_MIC’
tinymix ‘TX SMIC MUX0’ ‘ADC0’
tinymix ‘TX_CDC_DMA_TX_3 Channels’ ‘One’
tinymix ‘TX_AIF1_CAP Mixer DEC0’ 1
tinymix ‘ADC1_MIXER Switch’ 1
tinycap /data/rec.wav
AMIC2:
tinymix ‘MultiMedia1 Mixer TX_CDC_DMA_TX_3’ 1
tinymix ‘TX DEC0 MUX’ ‘SWR_MIC’
tinymix ‘TX SMIC MUX0’ ‘ADC2’
tinymix ‘TX_CDC_DMA_TX_3 Channels’ ‘One’
tinymix ‘TX_AIF1_CAP Mixer DEC0’ 1
tinymix ‘ADC2_MIXER Switch’ 1
tinymix ‘ADC2 MUX’ ‘INP2’
tinycap /data/rec.wav
AMIC3:
tinymix ‘MultiMedia1 Mixer TX_CDC_DMA_TX_3’ 1
tinymix ‘TX DEC0 MUX’ ‘SWR_MIC’
tinymix ‘TX SMIC MUX0’ ‘ADC2’
tinymix ‘TX_CDC_DMA_TX_3 Channels’ ‘One’
tinymix ‘TX_AIF1_CAP Mixer DEC0’ 1
tinymix ‘ADC2_MIXER Switch’ 1
tinymix ‘ADC2 MUX’ ‘INP3’
tinycap /data/rec.wav


原文地址:https://blog.csdn.net/qq_36367373/article/details/144305188

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!