当前位置:编程学习 > html/css >>

AML8726调试记录

A:android本身的机制,调节volume时不会去控制声卡上的寄存器,而是通过软件算法将volume调大或者调小。声卡控制的音频输出有好几路,每一路都有vol和gain控制着音量大小。
 
#cat /sys/class/sound/card0/device/RT5631/codec_reg →察看寄存器值
# tinymix 15 20 → Speaker Playback Volume设置为20
# tinymix 18 20 → HP Playback Volume设置为20
 
root@android:/# tinymix
  Numberof controls: 82 ctl type num name value 0 ENUM 1 MIC1Mode Control Differential 1 INT 1 MIC1Boost 3 2 ENUM 1 MIC2Mode Control Differential 3 INT 1 MIC2Boost 3 4 ENUM 1 MONOINMode Control Differential 5 INT 2 MONOIN_RXCapture Volume 23 23 6 INT 2 AXICapture Volume 23 23 7 INT 2 PCMRecord Volume 255 255 8 BOOL 2 PCMRecord Switch On On 9 INT 2 PCMPlayback Volume 255 255 10 BOOL 2 PCMPlayback Switch On On 11 BOOL 1 AXO1Playback Switch On 12 BOOL 1 AXO2Playback Switch On 13 BOOL 2 OUTVOLChannel Switch On On 14 BOOL 2 SpeakerPlayback Switch On On 15 INT 2 SpeakerPlayback Volume 20 20 16 BOOL 1 MONOPlayback Switch Off 17 BOOL 2 HPPlayback Switch On On 18 INT 2 HPPlayback Volume 31 31 19 BOOL 1 DMICSwitch Off 20 BOOL 2 DMICCapture Switch Off Off 21 ENUM 1 SPKRatio Control 1.44x 22 BOOL 1 CallMode Switch Off 23 ENUM 1 HPRMux Right HPVOL 24 ENUM 1 HPLMux Left HPVOL 25 ENUM 1 MONOMux MONOMIX 26 ENUM 1 SPORMux SPORMIX 27 ENUM 1 SPOLMux SPOLMIX 28 BOOL 1 AXO2MIXMixer MIC1_BST1 Playback Switch Off 29 BOOL 1 AXO2MIXMixer MIC2_BST2 Playback Switch Off 30 BOOL 1 AXO2MIXMixer OUTVOLL Playback Switch Off 31 BOOL 1 AXO2MIXMixer OUTVOLR Playback Switch Off 32 BOOL 1 SPORMIXMixer SPKVOLL Playback Switch Off 33 BOOL 1 SPORMIXMixer SPKVOLR Playback Switch On 34 BOOL 1 MONOMIXMixer OUTVOLL Playback Switch Off 35 BOOL 1 MONOMIXMixer OUTVOLR Playback Switch Off 36 BOOL 1 SPOLMIXMixer SPKVOLL Playback Switch On 37 BOOL 1 SPOLMIXMixer SPKVOLR Playback Switch Off 38 BOOL 1 AXO1MIXMixer MIC1_BST1 Playback Switch Off 39 BOOL 1 AXO1MIXMixer MIC2_BST2 Playback Switch Off 40 BOOL 1 AXO1MIXMixer OUTVOLL Playback Switch On 41 BOOL 1 AXO1MIXMixer OUTVOLR Playback Switch Off 42 ENUM 1 RightSPKVOL Mux SPKMIXR 43 ENUM 1 RightHPVOL Mux OUTMIXR 44 ENUM 1 RightOUTVOL Mux OUTMIXR 45 ENUM 1 LeftOUTVOL Mux OUTMIXL 46 ENUM 1 LeftHPVOL Mux OUTMIXL 47 ENUM 1 LeftSPKVOL Mux SPKMIXL 48 BOOL 1 SPKMIXRMixer OUTMIXR Playback Switch Off 49 BOOL 1 SPKMIXRMixer DACR Playback Switch On 50 BOOL 1 SPKMIXRMixer MIC2_P Playback Switch Off 51 BOOL 1 SPKMIXRMixer RECMIXR Playback Switch Off 52 BOOL 1 OUTMIXRMixer VDAC Playback Switch Off 53 BOOL 1 OUTMIXRMixer AXIRVOL Playback Switch Off 54 BOOL 1 OUTMIXRMixer AXILVOL Playback Switch Off 55 BOOL 1 OUTMIXRMixer MONOIN_RXN Playback Switch Off 56 BOOL 1 OUTMIXRMixer MIC2_BST2 Playback Switch Off 57 BOOL 1 OUTMIXRMixer MIC1_BST1 Playback Switch Off 58 BOOL 1 OUTMIXRMixer DACR Playback Switch On 59 BOOL 1 OUTMIXRMixer RECMIXR Playback Switch Off 60 BOOL 1 OUTMIXRMixer RECMIXL Playback Switch Off 61 BOOL 1 OUTMIXLMixer RECMIXL Playback Switch Off 62 BOOL 1 OUTMIXLMixer RECMIXR Playback Switch Off 63 BOOL 1 OUTMIXLMixer DACL Playback Switch On 64 BOOL 1 OUTMIXLMixer MIC1_BST1 Playback Switch Off 65 BOOL 1 OUTMIXLMixer MIC2_BST2 Playback Switch Off 66 BOOL 1 OUTMIXLMixer MONOIN_RXP Playback Switch Off 67 BOOL 1 OUTMIXLMixer AXILVOL Playback Switch Off 68 BOOL 1 OUTMIXLMixer AXIRVOL Playback Switch Off 69 BOOL 1 OUTMIXLMixer VDAC Playback Switch Off 70 BOOL 1 SPKMIXLMixer RECMIXL Playback Switch Off 71 BOOL 1 SPKMIXLMixer MIC1_P Playback Switch Off 72 BOOL 1 SPKMIXLMixer DACL Playback Switch On 73 BOOL 1 SPKMIXLMixer OUTMIXL Playback Switch Off 74 BOOL 1 RECMIXRMixer MONOIN_RX Capture Switch On 75 BOOL 1 RECMIXRMixer AXIRVOL Capture Switch Off 76 BOOL 1 RECMIXRMixer MIC2_BST2 Capture Switch On 77 BOOL 1 RECMIXRMixer OUTMIXR Capture Switch Off 78 BOOL 1 RECMIXLMixer OUTMIXL Capture Switch Off 79 BOOL 1 RECMIXLMixer MIC1_BST1 Capture Switch On 80 BOOL 1 RECMIXLMixer AXILVOL Capture Switch Off 81 BOOL 1 RECMIXLMixer MONOIN_RX Capture Switch On

 

 
 
补充:web前端 , HTML/CSS  ,

上一个:设置tabhost位于底部的三种方法
下一个:DEDE用{dede:sql}标签取出当前文档的附加表中的内容

更多html/css疑问解答:
div+css中关于ie浏览器中非啊元素的:hover的实现问题,哪位大神指点下啊
css jquery代码中为什么宽度这样设定.menu li ul 150px;.menu li ul a 110px;.menu li a中padding的20px
css 属性选择器 ie6 不支持吗?
用css、jquery做的选项卡效果,有一个小疑问,请高手指点,代码如下:
介绍本学习css的书
wordpress多个CSS样式怎么调用?
这个div 的css是如何编写的
div+css中,div的右边框小于div的高度且居中,除了用背景图片,如何实现?
表格立体感用CSS怎么写 我要 具体代码 写仔细 分段的 谢谢 了 兄弟 还有 下拉列表框 立体感用CSS 怎么写
CSS 在一个大的DIV里面,另一个DIV怎么居中并置底。
dw中html文档为什么无法链接css文档
设计一个小例子说明DIV+CSS的优势(例子要解释并注释)。
我会html css目前正在学js,打算在大三的寒假找个实习,请问应该找哪方面的实习?
css问题,跪求大大帮忙
请教网页设计高手,如下图的这种css代码怎么写?
asp
php
Delphi
Matlab
JSP
Foxpro
JS
C/C++
C#/ASP.NET
VC++
JAVA
VB
汇编语言
html/css
CGI
XML/UML
wap
网站相关
网页素材
python
微信小程序
thinkphp
如果你遇到编程学习难题:
访问www.zzzyk.com 试试
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,