树莓派麦克风
来源:互联网 发布:win10的java环境配置 编辑:程序博客网 时间:2024/04/19 20:30
问题1:
down vote
If you don't need the onboard audio chip (i.e. analog output or hdmi audio), try this:
- Disable onboard audio.
- Open
/etc/modprobe.d/raspi-blacklist
and addblacklist snd_bcm2835
.
- Open
- Allow the USB audio device to be the default device.
- Open
/lib/modprobe.d/aliases.conf
and comment out the lineoptions snd-usb-audio index=-2
- Open
- Reboot
- Test it:
$ aplay /usr/share/sounds/alsa/Front_Center.wav
问题2:
As far as I know Flash only outputs sound to the default ALSA device, which is usually the first detected by ALSA. One way (and the only that worked reliably for me when i used 2 sound cards) of setting another device as default is in a ~/.asoundrc file. You will probably have to create the file as it is not normally used.
These might need changing depending on your cards.
aplay -l will list all configured ALSA sound devices on your machine, which I see you have done.
Code:
pcm.!default {type hwcard 1}ctl.!default {type hwcard 1}
aplay -l will list all configured ALSA sound devices on your machine, which I see you have done.
阅读全文
0 0
- 树莓派麦克风
- 麦克风
- 麦克风
- 亚马逊AVS--树莓派3麦克风配置
- 麦克风设置
- 麦克风灵敏度
- 麦克风灵敏度
- 麦克风基本知识
- 麦克风基本知识
- 防城港麦克风
- 麦克风阵列
- 麦克风不能使用
- 麦克风播放器
- 任务栏 麦克风 关闭
- 检测麦克风活动
- 麦克风的指向性
- win7麦克风不起作用
- 麦克风输入电路设计问题
- [PAT-乙级]1052.卖个萌
- c++作业6
- 网络传输中的中文乱码问题
- 一种在ssm框架下时间交互的简单解决方案
- ListView中CheckBox状态混乱问题
- 树莓派麦克风
- leetcode: Search Insert Position
- iOS开发——应用间跳转
- [PAT-乙级]1053.住房空置率
- 一个关于list的有趣的问题
- jQuery之动画效果(动画基础隐藏和显示,上卷下拉效果 ,淡入淡出效果 ,动画切换的比较,自定义动画,jQuery核心)
- 排序算法——二元选择排序
- 二叉查找树总结
- android手机裸眼3D技术原理和编程实现