From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 18 22:14:05 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from miki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id 74466106564A; Thu, 18 Dec 2008 22:14:04 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Fri, 19 Dec 2008 06:13:57 +0800 From: Ariff Abdullah To: "Scott Spare" Message-Id: <20081219061357.6d23f06e.ariff@FreeBSD.org> In-Reply-To: References: <200812170046.32702.shoesoft@gmx.net> 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__19_Dec_2008_06_13_57_+0800_FjOxYTlkamtJYGN8" Cc: freebsd-multimedia@freebsd.org Subject: Re: Multiple simultaneous sound channels (sources) with X.org and Envy24 (M-Audio Audiophile 2496) 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 Dec 2008 22:14:06 -0000 --Signature=_Fri__19_Dec_2008_06_13_57_+0800_FjOxYTlkamtJYGN8 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 18 Dec 2008 15:58:18 -0500 "Scott Spare" wrote: > Stefan, > Thank you for your detailed message. I am more than willing to test > any new driver code for Envy24 that supports multiplexing if anyone > creates it. I looked at the code for the driver yesterday, but > realized after about half an hour of reading code that driver > debugging is way beyond my C ability. >=20 > I was unable to figure out what that high-quality hardware mixing is > called in the driver, or whether it's just automatically enabled, > and so would be something that would have to be disabled explicitly > by sending a signal to the chip to tell it not to use it. I would > be very glad to use the hardware mixer if it was working. Also I'm > not really clear on what portion of all this is handled by the > driver itself, and what's handled by the kernel modules. >=20 > I looked around for datasheets for the VIA Envy24 chip itself, and > couldn't find those. I personally thank Konstantin and whoever else > authored these drivers in the first place. How they did so without > datasheets, I will never know. >=20 > FWIW, there's a web page on the chip itself at > http://www.via.com.tw/en/products/audio/controllers/envy24/. > The digital mixer is shown on that page in a block diagram, but the > quality of the diagram is not so good. There's a zip file for an > "image kit" on that page, but that's just logos. >=20 > Next steps: I think I'm going to try OSS again and see if I can get > that virtual channel mixing thing working. I might also look at the > source of their envy24 support to see if that answers anything. I > kind of doubt it, but it's worth a shot. I'd really prefer to use > some kind of low-level solution like the hardware mixing or FreeBSDs > vchans. I think the driver may be disabling the vchans, but not > sure. >=20 > The driver itself has been working great with libao besides the > multiplexing issue. I use it every day to play music on Amarok.=20 > What a great card. Thanks once again. >=20 Dejavu. I'll look into this. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Fri__19_Dec_2008_06_13_57_+0800_FjOxYTlkamtJYGN8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAklKyyUACgkQlr+deMUwTNrTUwCgyhFNwsdHUio5J7Pqfc2AYQci Um8AoIZZGSYusKcp4Bjik0ZEkObV+/cV =CsY4 -----END PGP SIGNATURE----- --Signature=_Fri__19_Dec_2008_06_13_57_+0800_FjOxYTlkamtJYGN8--