From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 15 01:44:15 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 767B416A41F; Fri, 15 Jun 2007 01:44:13 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Fri, 15 Jun 2007 09:44:03 +0800 From: Ariff Abdullah To: "Alexandre Vieira" Message-Id: <20070615094403.34630709.ariff@FreeBSD.org> In-Reply-To: <755cb9fc0706141429y4c5d7724p687ff27e9a29440d@mail.gmail.com> References: <755cb9fc0706140427g46f8f666ke7a3882ad6f6404f@mail.gmail.com> <20070614200210.448b3665@deskjail> <755cb9fc0706141429y4c5d7724p687ff27e9a29440d@mail.gmail.com> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__15_Jun_2007_09_44_03_+0800_ta/SmQnWHJPxj.+T" Cc: freebsd-multimedia@freebsd.org, Alexander@leidinger.net, freebsd-emulation@freebsd.org 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: Fri, 15 Jun 2007 01:44:15 -0000 --Signature=_Fri__15_Jun_2007_09_44_03_+0800_ta/SmQnWHJPxj.+T Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 14 Jun 2007 22:29:35 +0100 "Alexandre Vieira" wrote: > On 6/14/07, Alexander Leidinger wrote: > > > > 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.h= tml > > > > > > 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 =3D > > B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP > > ID =3D 72077137 > > >=20 > Alexander, >=20 > As I said in the initial post, vchans don't have any effect. As far > as my technical knowledge about freebsd and the linux emulation I'm > pretty sure that if you have a linux application that is using > /dev/dsp* any other linux application won't be able to use > /dev/dsp*. >=20 > If you have a freebsd native application using a /dev/dsp* then a > linux application is able to use it if I have virtual channels left, > and vice versa. >=20 Let me guess, is this on 6.x? -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Fri__15_Jun_2007_09_44_03_+0800_ta/SmQnWHJPxj.+T Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD4DBQFGce7jlr+deMUwTNoRAu0NAJ4yZ+48bM6yrnukk+AxYlCnh87WswCSA8Dc j6Oe1Zs9vanOWdE4NfLDyw== =8YFo -----END PGP SIGNATURE----- --Signature=_Fri__15_Jun_2007_09_44_03_+0800_ta/SmQnWHJPxj.+T--