Date: Thu, 18 May 2006 10:56:52 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: USB headset ... ? Message-ID: <20060518105652.i60qdplfc0kc4488@netchild.homeip.net> In-Reply-To: <20060518045405.O1145@ganymede.hub.org> References: <20060517225126.Y1145@ganymede.hub.org> <20060518084430.psrgjfk90kcgs480@netchild.homeip.net> <20060518045405.O1145@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Marc G. Fournier" <scrappy@hub.org> (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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060518105652.i60qdplfc0kc4488>