LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1065|回复: 1

怎么将声音传输到USB口?

[复制链接]
发表于 2011-8-13 18:13:35 | 显示全部楼层 |阅读模式
买了个FM发射器
http://item.taobao.com/item.htm?id=5078578714
,插USB口,在windows下设置成采用USB声卡就可以发射声音信号了,然后可以用FM收音机收听。在Linux应该怎样设置?
 楼主| 发表于 2011-8-13 19:36:00 | 显示全部楼层
搞定了,
http://forum.ubuntu.org.cn/viewtopic.php?t=164545
首先试一下:
cat /usr/bin/bash > /dev/dsp1

cat /usr/bin/bash > /dev/audio1
看能否发出声音。成功后,然后
mplayer -ao oss:/dev/dsp1 文件.mp3

mplayer -ao oss:/dev/audio1 文件.mp3
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表