From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 17 13:58:58 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55F1616A479 for ; Sat, 17 Jun 2006 13:58:58 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F4F43D45 for ; Sat, 17 Jun 2006 13:58:52 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E5AC.dip.t-dialin.net [84.165.229.172]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5HDsReJ042443; Sat, 17 Jun 2006 15:54:28 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5HDwnIX022123; Sat, 17 Jun 2006 15:58:49 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 17 Jun 2006 15:59:23 +0200 From: Alexander Leidinger To: "Frans-Jan v. Steenbeek" Message-ID: <20060617155923.6f85dbfe@Magellan.Leidinger.net> In-Reply-To: <200606131918.06807.frans-jan@van-steenbeek.net> References: <200606131435.05327.frans-jan@van-steenbeek.net> <20060613165925.epx6dpaahc8csgk4@netchild.homeip.net> <200606131918.06807.frans-jan@van-steenbeek.net> X-Mailer: Sylpheed-Claws 2.3.0 (GTK+ 2.8.18; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: 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: Sat, 17 Jun 2006 13:58:58 -0000 Quoting "Frans-Jan v. Steenbeek" (Tue, 13 Jun 2006 19:18:06 +0200): > Op dinsdag 13 juni 2006 16:59, schreef Alexander Leidinger: > > Quoting "Frans-Jan v. Steenbeek" (from > > > 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. And with one of them at ... let's say 4? Did you make sure that nothing had the soundsystem open at the time of issuing the sysctl (e.g. artsd or esd not running)? Are you able to play more than one soundstream at the same time with FreeBSD native programs? Which FreeBSD version are we talking about ATM? > 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) It allows to use specific sound channels, but the channels are not fixed, you get a random one... so just use /dev/dsp (or dsp0 fir the first soundcard and dsp1 for the second...). Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~130 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137