From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 14 18:01:57 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D0DC16A46B; Thu, 14 Jun 2007 18:01:57 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 05E6613C480; Thu, 14 Jun 2007 18:01:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D884.dip.t-dialin.net [84.165.216.132]) by redbull.bpaserver.net (Postfix) with ESMTP id 1785F2E27F; Thu, 14 Jun 2007 20:01:49 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 2B0605B490D; Thu, 14 Jun 2007 20:01:31 +0200 (CEST) Date: Thu, 14 Jun 2007 20:02:10 +0200 From: Alexander Leidinger To: "Alexandre Vieira" Message-ID: <20070614200210.448b3665@deskjail> In-Reply-To: <755cb9fc0706140427g46f8f666ke7a3882ad6f6404f@mail.gmail.com> References: <755cb9fc0706140427g46f8f666ke7a3882ad6f6404f@mail.gmail.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.1, required 8, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org, Ariff, Abdullah Subject: Re: Follow up: Sound in multiple Linux progs X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 18:01:57 -0000 Quoting "Alexandre Vieira" (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