Date: Sun, 4 Jul 2004 10:23:22 +0200 From: Geert Hendrickx <geert.hendrickx@ua.ac.be> To: Hugo Silva <klr@6s-gaming.com> Cc: freebsd-questions@freebsd.org Subject: Re: sound-card // dsp1 Message-ID: <20040704082322.GC4246@lori.mine.nu> In-Reply-To: <49757.81.84.175.12.1088898504.squirrel@81.84.175.12> References: <49757.81.84.175.12.1088898504.squirrel@81.84.175.12>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 03, 2004 at 11:48:24PM -0000, Hugo Silva wrote: > Hi, > > I need to create a dsp1 device. I'm running FreeBSD 5.2.1-RELEASE-p9 > > I've tried: > [root@europa:/dev]# mknod /dev/dsp1 c 30 0x00000013 > mknod: /dev/dsp1: No such file or directory > > but no luck.. I need this device because I need to use two programs who > will put dsp device in r/w. So the second will always fail. The only way I > see to fix this is creating a dsp1 device, make the first program use > /dev/dsp and the second use /dev/dsp1 ... > > Increasing the vchans didn't work, this seems to work only for playback > (can have xmms,teamspeak,mplayer.. but when I lauch Enemy Territory, it > will be soundless, because it opens dsp in rw and TeamSpeak already has > dsp in rw) > > Someone suggested using artsdsp, but: > /data/games/enemy-territory/et.x86: error while loading shared libraries: > /usr/local/lib/libartsdsp.so.0: ELF file OS ABI invalid > > .. > > I've been trying to find a way around this for 4 hours now and still > nothing :-) So, perhaps someone knows the answer to this one ? > > Regards The kernel can mix your sounds, if you use virtual sound channels such as /dev/dsp0.x . Check out the sysctl's hw.snd.pcm0.vchans and hw.snd.maxautovchans. If your programs don't access the sound-devices directly, you could also use something like Esound (ports/audio/esound). GH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040704082322.GC4246>