How to verify the Playback/Recording on WCD9330 Codec using tinymix commands
来源:互联网 发布:大数据在零售业的应用 编辑:程序博客网 时间:2024/05/16 00:35
1. PCM playback over Differential Stereo Speaker Device
a. Enable
adb shell "tinymix 'SLIM RX1 MUX' 'AIF1_PB'"
adb shell "tinymix 'SLIM RX2 MUX' 'AIF1_PB'"
adb shell "tinymix 'SLIM_0_RX Channels' 'Two'"
adb shell "tinymix 'RX7 MIX1 INP1' 'RX1'"
adb shell "tinymix 'RX8 MIX1 INP1' 'RX2'"
adb shell "tinymix 'RX7 Digital Volume' 84"
adb shell "tinymix 'RX8 Digital Volume' 84"
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
adb shell "tinymix 'COMP0 Switch' 1"
adb shell "tinyplay /data/test.wav"
b. Disable
adb shell "tinymix 'SLIM RX1 MUX' 'ZERO'"
adb shell "tinymix 'SLIM RX2 MUX' 'ZERO'"
adb shell "tinymix 'RX7 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'RX8 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
adb shell "tinymix 'COMP0 Switch' 0"
2. PCM playback over Handset Device
a. Enable
adb shell "tinymix 'SLIM_0_RX Channels' 'One'"
adb shell "tinymix 'SLIM RX1 MUX' 'AIF1_PB'"
adb shell "tinymix 'RX1 MIX1 INP1' 'RX1'"
adb shell "tinymix 'DAC1 Switch' 1"
adb shell "tinymix 'CLASS_H_DSM MUX' 'DSM_HPHL_RX1'"
adb shell "tinymix 'RX1 Digital Volume' 84"
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
adb shell "tinymix 'COMP1 Switch' 1"
adb shell "tinyplay /data/test.wav"
b. Disable
adb shell "tinymix 'SLIM RX1 MUX' 'ZERO'"
adb shell "tinymix 'RX1 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'DAC1 Switch' 0"
adb shell "tinymix 'CLASS_H_DSM MUX' 'ZERO'"
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
adb shell "tinymix 'COMP1 Switch' 0"
3. PCM playback over Stereo headset
a. Enable
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
adb shell "tinymix 'SLIM RX1 MUX' 'AIF1_PB'"
adb shell "tinymix 'SLIM RX2 MUX' 'AIF1_PB'"
adb shell "tinymix 'SLIM_0_RX Channels' 'Two'"
adb shell "tinymix 'RX1 MIX1 INP1' 'RX1'"
adb shell "tinymix 'RX2 MIX1 INP1' 'RX2'"
adb shell "tinymix 'HPHL DAC Switch' 1"
adb shell "tinymix 'HPHL Volume' '14'"
adb shell "tinymix 'HPHR Volume' '14'"
adb shell "tinymix 'CLASS_H_DSM MUX' 'DSM_HPHL_RX1'"
adb shell "tinymix 'RX1 Digital Volume' '84'"
adb shell "tinymix 'RX2 Digital Volume' '84'"
adb shell "tinymix 'COMP1 Switch' 1"
adb shell "tinyplay /data/test.wav"
b. Disable
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
adb shell "tinymix 'SLIM RX1 MUX' 'ZERO'"
adb shell "tinymix 'SLIM RX2 MUX' 'ZERO'"
adb shell "tinymix 'RX1 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'RX2 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'HPHL DAC Switch' 0"
adb shell "tinymix 'CLASS_H_DSM MUX' 'ZERO'"
adb shell "tinymix 'COMP1 Switch' 0"
1. PCM playback over Single-ended Stereo Speaker Device
a. Enable
adb shell "tinymix 'SLIM RX1 MUX' 'AIF1_PB'"
adb shell "tinymix 'SLIM RX2 MUX' 'AIF1_PB'"
adb shell "tinymix 'SLIM_0_RX Channels' 'Two'"
adb shell "tinymix 'RX3 MIX1 INP1' 'RX1'"
adb shell "tinymix 'RX5 MIX1 INP1' 'RX2'"
adb shell "tinymix 'RX3 Digital Volume' 84"
adb shell "tinymix 'RX5 Digital Volume' 84"
adb shell "tinymix 'LINEOUT1 Volume' 84"
adb shell "tinymix 'LINEOUT2 Volume' 84"
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
adb shell "tinymix 'COMP2 Switch' 1"
adb shell "tinyplay /data/test.wav"
b. Disable
adb shell "tinymix 'SLIM RX1 MUX' 'ZERO'"
adb shell "tinymix 'SLIM RX2 MUX' 'ZERO'"
adb shell "tinymix 'RX3 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'RX5 MIX1 INP1' 'ZERO'"
adb shell "tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
adb shell "tinymix 'COMP2 Switch' 0"
4. PCM recording over Headset (AMIC2 Input)
a. Enable
adb shell "tinymix 'SLIM_0_TX Channels' 'One'"
adb shell "tinymix 'AIF1_CAP Mixer SLIM TX7' 1"
adb shell "tinymix 'SLIM TX7 MUX' 'DEC5'"
adb shell "tinymix 'DEC5 MUX' 'ADC2'"
adb shell "tinymix 'DEC5 Volume' '84'"
adb shell "tinymix 'ADC2 Volume' '13'"
adb shell "tinymix 'MultiMedia1 Mixer SLIM_0_TX' 1"
adb shell "tinycap /data/adc2.wav -c 1 -r 48000"
b. Disable
adb shell "tinymix 'AIF1_CAP Mixer SLIM TX7' 0"
adb shell "tinymix 'SLIM TX7 MUX' 'ZERO'"
adb shell "tinymix 'DEC5 MUX' 'ZERO'"
adb shell "tinymix 'MultiMedia1 Mixer SLIM_0_TX' 0"
adb shell "tinymix 'SLIMBUS_DL_HL Switch' 0"
adb shell "tinymix 'SLIMBUS_0_RX Port Mixer SLIM_0_TX' 0"
4. PCM recording over AMIC1
a. Enable
adb shell "tinymix 'SLIM_0_TX Channels' 'One'"
adb shell "tinymix 'AIF1_CAP Mixer SLIM TX7' 1"
adb shell "tinymix 'SLIM TX7 MUX' 'DEC6'"
adb shell "tinymix 'DEC6 MUX' 'ADC1'"
adb shell "tinymix 'DEC6 Volume' '84'"
adb shell "tinymix 'ADC1 Volume' '14'"
adb shell "tinymix 'MultiMedia1 Mixer SLIM_0_TX' 1"
adb shell "tinycap /data/adc1.wav -c 1 -r 48000"
b. Disable
adb shell "tinymix 'AIF1_CAP Mixer SLIM TX7' 0"
adb shell "tinymix 'SLIM TX7 MUX' 'ZERO'"
adb shell "tinymix 'DEC6 MUX' 'ZERO'"
adb shell "tinymix 'MultiMedia1 Mixer SLIM_0_TX' 0"
5. PCM recording over Handset (DMIC1 Input)
a. Enable
adb shell "tinymix 'MultiMedia1 Mixer SLIM_0_TX' 1"
adb shell "tinymix 'AIF1_CAP Mixer SLIM TX7' 1"
adb shell "tinymix 'SLIM_0_TX Channels' 'One'"
adb shell "tinymix 'SLIM TX7 MUX' 'DEC7'"
adb shell "tinymix 'DEC7 MUX' 'DMIC1'"
adb shell "tinycap /data/dmic1.wav -c 1 -r 48000"
b. Disable
adb shell "tinymix 'MultiMedia1 Mixer SLIM_0_TX' 0"
adb shell "tinymix 'AIF1_CAP Mixer SLIM TX7' 0"
adb shell "tinymix 'SLIM TX7 MUX' 'ZERO'"
adb shell "tinymix 'DEC7 MUX' 'ZERO'"
- How to verify the Playback/Recording on WCD9330 Codec using tinymix commands
- How to Draw Waveform While Recording Using NAudio and WPF
- how to build a codec using lib
- How to Verify if the CPU support 64-bit
- How to debug codec code on DM6467T EVM
- how to use HW accelerated video codec on android
- How to capture video frames from the camera as images using AV Foundation on iOS
- How To Verify the Word Size (32bit vs 64bit) of the Oracle Binary on MS Windows systems (文档 ID 46506
- How To Verify the Word Size (32bit vs 64bit) of the Oracle Binary on MS Windows systems (文档 ID 46506
- How to Using the FortiUSB key
- How to expand the BOM using ABAP?
- how to intall stardict on the ubuntu
- How to enable the MPlayer on centOS7
- How to Deploy or Remove a Solution Package Using PowerShell Commands
- How to access HBase from spark-shell using YARN as the master on CDH 5.3 and Spark 1.2
- How To Monitor Remote Windows Machine Using Nagios on Linux
- How to execute an application on Windows using Python.
- how to install OpenFetion using source, not deb, on Ubuntu
- 字符串 Anagrams
- 使用angular.bootstrap完成模块的手动加载
- wlanconfig
- Scramble String
- Android 设计的的最佳实践
- How to verify the Playback/Recording on WCD9330 Codec using tinymix commands
- QTextCodec中的setCodecForTr等终于消失了 (Qt5)
- Android动画之:Frame动画
- Android的Activity屏幕切换动画-左右滑动深入与实战
- seven叶项目总结03
- ZOJ3471---Most Powerful(状压dp)
- WIN7,Visual Assist安装 for VS2010
- ubuntu安装firefox的flashplayer插件
- SecureCRT中文显示乱码的解决方法