LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: alonesniper

怎么让alsa支持多声音流啊

[复制链接]
发表于 2004-12-6 17:21:46 | 显示全部楼层
最初由 yisha 发表

建立~/.asoundrc,把export LD_PRELOAD="/usr/lib/libaoss.so"填加到


谢谢,其他都做了,只有这个没做。。。
我是按照这个文章做的基本上:http://alsa.opensrc.org/index.php?page=AlsaSharing
发表于 2004-12-6 17:52:39 | 显示全部楼层
yisha兄可以解决录音问题吗?
我今天测试了一下,用你推荐的那个.asoundrc不能录音,提示
  1. alsa device "default" had an error
复制代码

然后用了http://alsa.opensrc.org/index.ph ... 误提示。。。
这里是我的alsa-base,我是debian 2.6.9
  1. # ALSA portion
  2. alias char-major-116 snd
  3. alias snd-card-0 snd-cmipci
  4. # module options should go here

  5. # OSS/Free portion
  6. alias char-major-14 soundcore
  7. alias sound-slot-0 snd-card-0

  8. # card #1
  9. alias sound-service-0-0 snd-mixer-oss
  10. alias sound-service-0-1 snd-seq-oss
  11. alias sound-service-0-3 snd-pcm-oss
  12. alias sound-service-0-8 snd-seq-oss
  13. alias sound-service-0-12 snd-pcm-oss
复制代码

我用的是CMI87378的独立硬声卡。。。
参照文章:
http://alsa.opensrc.org/index.php?page=AlsaSharing

这个gentoo的暴全,感谢winrose,sunmoon1997兄推荐http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix

http://www.gentoo.org/doc/en/alsa-guide.xml

http://www.alsa-project.org/alsa ... 8&module=cmipci
发表于 2004-12-6 19:04:33 | 显示全部楼层


果然暴全!还有intel8x0的asoundrc sample,多谢。
小弟的机器上没有麦克风
这么多可设置的东西。
发表于 2004-12-6 21:52:19 | 显示全部楼层
呵呵,老兄客气了!这里有说麦克风不能用的,,http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix
但是我按照他的方法没用,哇555,呵呵
不过总算解决了多音频流的问题,,
请问怎么到处都没有让做这个呢 :cry:
  1. export LD_PRELOAD="/usr/lib/libaoss.so"
复制代码
发表于 2004-12-8 08:37:08 | 显示全部楼层
libaoss.so那里弄过来的,我机子上面怎么没有这个啊,turbolinux d10
发表于 2004-12-8 08:45:09 | 显示全部楼层
不行啊,我这里一用alsa输出,播放器就崩溃啊,xmms和gmplayer都是这样
发表于 2004-12-8 08:57:37 | 显示全部楼层
是cm8738的声卡。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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