概述
Kernel:4.4
背景:使用rk3399的开发环境,codec使用alc5640,Linux系统用自制的ubuntu。
代码及配置部分可参考如下
https://blog.csdn.net/vcsuanfadaima/article/details/111692072
amixer cset numid=52,iface=MIXER,name='DAI select' 1
amixer cset numid=3,iface=MIXER,name='Speaker Channel Switch' on on
amixer cset numid=72,iface=MIXER,name='SPK MIXL OUT MIXL Switch' on
amixer cset numid=77,iface=MIXER,name='SPK MIXR OUT MIXR Switch' on
amixer cset numid=108,iface=MIXER,name='OUT MIXL DAC L1 Switch' on
amixer cset numid=116,iface=MIXER,name='OUT MIXR DAC R1 Switch' on
amixer cset numid=78,iface=MIXER,name='SPOL MIX DAC R1 Switch' on
amixer cset numid=79,iface=MIXER,name='SPOL MIX DAC L1 Switch' on
amixer cset numid=80,iface=MIXER,name='SPOL MIX SPKVOL R Switch' on
amixer cset numid=81,iface=MIXER,name='SPOL MIX SPKVOL L Switch' on
amixer cset numid=83,iface=MIXER,name='SPOR MIX DAC R1 Switch' on
amixer cset numid=84,iface=MIXER,name='SPOR MIX SPKVOL R Switch' on
amixer cset numid=90,iface=MIXER,name='Speaker L Playback Switch' on
amixer cset numid=91,iface=MIXER,name='Speaker R Playback Switch' on
amixer cset numid=59,iface=MIXER,name='Mono DAC MIXL DAC L2 Switch' on
amixer cset numid=62,iface=MIXER,name='Mono DAC MIXR DAC R2 Switch' on
amixer cset numid=114,iface=MIXER,name='OUT MIXR DAC L2 Switch' on
amixer cset numid=115,iface=MIXER,name='OUT MIXR DAC R2 Switch' on
amixer cset numid=107,iface=MIXER,name='OUT MIXL DAC L2 Switch' on
amixer cset numid=106,iface=MIXER,name='OUT MIXL DAC R2 Switch' on
其中numid可能会不一样。
最后
以上就是激情小霸王为你收集整理的RK3399基于Speaker通路配置的全部内容,希望文章能够帮你解决RK3399基于Speaker通路配置所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复