Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 20:02:10 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        "Alexandre Vieira" <nullpt@gmail.com>
Cc:        freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org, Ariff, Abdullah <ariff@freebsd.org>
Subject:   Re: Follow up: Sound in multiple Linux progs
Message-ID:  <20070614200210.448b3665@deskjail>
In-Reply-To: <755cb9fc0706140427g46f8f666ke7a3882ad6f6404f@mail.gmail.com>
References:  <755cb9fc0706140427g46f8f666ke7a3882ad6f6404f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Alexandre Vieira" <nullpt@gmail.com> (Thu, 14 Jun 2007 12:27:41 +0100):

> Hello,
> 
> This is a followup of thread:
> http://lists.freebsd.org/pipermail/freebsd-emulation/2006-June/002177.html
> 
> For several years i've been using freebsd to play many FPS kind of games
> (RTCW, Enemy Territory, Quakes, etc..) and I always have the same problem
> with Linux programs running under binary compatibility and /dev/dsp. Virtual
> channels won't work, whenever a launch a linux program that uses /dev/dsp*
> any other linux program won't be able to open the device for read or write.
> 
> I wonder if there is any workaround/fix on this matter. My workaround is
> always to have 2 sound cards on the machine so I can use for example
> TeamSpeak and Enemy Territory. Each program will use a different dsp device
> and it works.

Enable vchans instead:

 % sysctl -a | grep vchan
hw.snd.maxautovchans: 16

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070614200210.448b3665>