Sound in multiple Linux progs

Frans-Jan v. Steenbeek frans-jan at van-steenbeek.net
Tue Jun 13 17:15:32 UTC 2006


Op dinsdag 13 juni 2006 16:59, schreef Alexander Leidinger:
> Quoting "Frans-Jan v. Steenbeek" <frans-jan at van-steenbeek.net> (from
>
> Tue, 13 Jun 2006 14:35:05 +0200):
> > However, both at the same time does not work. /dev/dsp is then listed as
> > in-use.
> >
> > AFAIK, Linux binaries work almost like FreeBSD binaries on the same
> > system, only there is a linux kernel in the FreeBSD kernel. I imagine
> > that it should
>
> Strictly speaking: no, there's no linux kernel, just a tiny wrapper
> from "linux sysctl #X" to "FreeBSD sysctl #Y".

OK :) same thing for me basically, I'm not that techo...

> > be that much of a hassle to let the linux progs behave the same,
> > regarding to devices. So: is there a solution, and if yes: what is it?
>
> I hope the solution is as easy as to tell you about vchans: Chapter
> "7.2.3 Utilizing Multiple Sound Sources" at
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

Tried that, with hw.snd.maxautovchans as well as with hw.snd.pcm0.vchans. 
Didn't work. With both on 0 every FreeBSD binary behaves fine.

On the soundsystem: what exactly is the difference between say dsp0.0 and 
dsp0.1? (No, changing settings in Linux progs to these devices doesn't work. 
It still appears to look for /dev/dsp)

Other ideas?

> Bye,
> Alexander.

-- 
Frans-Jan v. Steenbeek
Pakhuisweg 16-II
NL-6718XJ  Ede
the Netherlands

T: 0318 516714
   06-43536482
E: frans-jan at van-steenbeek.net


More information about the freebsd-emulation mailing list