From owner-freebsd-multimedia Thu Apr 4 11:50:51 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by hub.freebsd.org (Postfix) with ESMTP id E443F37B41E for ; Thu, 4 Apr 2002 11:50:44 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.191.9]) by tomts5-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020404195044.GOOC10852.tomts5-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Thu, 4 Apr 2002 14:50:44 -0500 Received: from lenny.anarcat.dyndns.org (lenny.anarcat.dyndns.org [192.168.0.4]) by khan.anarcat.dyndns.org (Postfix) with SMTP id C240918B9; Thu, 4 Apr 2002 14:50:39 -0500 (EST) Received: by lenny.anarcat.dyndns.org (sSMTP sendmail emulation); Thu, 4 Apr 2002 14:49:37 -0500 Date: Thu, 4 Apr 2002 14:49:37 -0500 From: The Anarcat To: Lars Eggert Cc: John Utz , multimedia@FreeBSD.ORG Subject: Re: Soundblaster Live rear channels? Message-ID: <20020404194937.GE279@lenny.anarcat.dyndns.org> References: <3CAC8E70.3040700@isi.edu> <20020404193214.GD279@lenny.anarcat.dyndns.org> <3CACAC92.3040506@isi.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n+lFg1Zro7sl44OB" Content-Disposition: inline In-Reply-To: <3CACAC92.3040506@isi.edu> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --n+lFg1Zro7sl44OB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu Apr 04, 2002 at 11:42:10AM -0800, Lars Eggert wrote: > The Anarcat wrote: > >FreeBSD Audio Driver (newpcm) Mar 27 2002 12:56:06 > >Installed devices: > >pcm0: at io 0x9000 irq 5 (4p/1r/0v channels duplex) > > > >So it has 4 play channels. newpcm supports multiple through the use of > >multiple channels, AFAIK. On -stable, newpcm supports this through > >hw.snd.pcm0.vchans. The default value is 0 which means there is only > >one virtual channel available. If you bump this to 1 or 2, you have > >more virtual channels available. These are accessible through > >/dev/dspX.Y where Y is the virtual channel. >=20 > I think I was unclear here when using "channel". Yes. > What I'm trying to do=20 > is getting sound out of the two rear speakers with a 5-speaker setup.=20 > There's two separate cables that go from the soundcard to the speakers,= =20 > one is for the front pair and subwoofer, the other drives the two rear=20 > speakers. No signal comes out of the latter. >=20 > My understanding was that "virtual" channels act like virtual sound=20 > cards, i.e. each applications gets what looks like a separate sound=20 > device, and the kernel muxes the output. I'm not sure this has anything= =20 > to do with the mixer channels, which is where I would expect the rear=20 > channel to show up. And this is why I brought up the "mapping" issue. I think pcm can use the multiple channels available (front and rear) through the virtual channels technique. The kernel can mux the input from various apps into a single sound channel, so it's likely that it can do the opposite: mux a single sound input to multiple channels. I can't answer wether it is the case, but it's likely to be. Cameron Grant would be the one to answer that, I think. A. --n+lFg1Zro7sl44OB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjysrlEACgkQttcWHAnWiGdVRgCbBoPDUX+4oxhPgCuMcbn0QD6o g9EAoIYWQu7BB51V2cyeBw0HLaOpdesv =Pq2n -----END PGP SIGNATURE----- --n+lFg1Zro7sl44OB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message