From owner-freebsd-multimedia@FreeBSD.ORG Thu May 18 08:57:10 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1255416A401 for ; Thu, 18 May 2006 08:57:10 +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 4159243D45 for ; Thu, 18 May 2006 08:57:08 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DFE7.dip.t-dialin.net [84.165.223.231]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4I8kI05059410; Thu, 18 May 2006 10:46:20 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4I8uqkY013718; Thu, 18 May 2006 10:56:52 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 18 May 2006 10:56:52 +0200 Message-ID: <20060518105652.i60qdplfc0kc4488@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 18 May 2006 10:56:52 +0200 From: Alexander Leidinger To: "Marc G. Fournier" References: <20060517225126.Y1145@ganymede.hub.org> <20060518084430.psrgjfk90kcgs480@netchild.homeip.net> <20060518045405.O1145@ganymede.hub.org> In-Reply-To: <20060518045405.O1145@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org Subject: Re: USB headset ... ? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 08:57:10 -0000 Quoting "Marc G. Fournier" (from Thu, 18 May 2006 =20 04:55:11 -0300 (ADT)): > On Thu, 18 May 2006, Alexander Leidinger wrote: > >> In case you want to play music at the same time you are using a =20 >> headset, you can activate the virtual channels for the audio device =20 >> with a sysctl. This way the sound system allows to open /dev/dsp =20 >> multiple times and mixes everything together and you don't need to =20 >> have more than one soundcard. > > You mean, I can actually hear GAIM beep on new messages while listening > to music?? Yes. > I figured I had to be doing something wrong that it didn't work :( Do > you happen to know what the sysctl is for this? :) Not exacly (can't look it up ATM)... there are two. One is for setting =20 it to a specific number of virtual channels, and one is to let the =20 sound system automatically add some upto the amount you allow with the =20 sysctl. It's in the sound-MIB (hw.sound?). Do a "sysctl -a | grep pcm". If the output is "hw.sound.pcm0.XXX" run =20 "sysctl hw.sound" so see a complete list of sysctl's available. Pick =20 one of the "vchan" ones and change it from zero to an arbitrary =20 numer... e.g. 4 to be able to let 4 applications play at the same time. I think we should activate vchans by default... anyone with an idea of =20 the number of channels we should provide by default (warning: bikeshed =20 ahead)? Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Nondeterminism means never having to say you are wrong.