From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 06:14:58 2005 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 7592216A432; Thu, 6 Oct 2005 06:14:58 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0B9743D46; Thu, 6 Oct 2005 06:14:56 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id D086A6CC27; Thu, 6 Oct 2005 14:15:22 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21853-04; Thu, 6 Oct 2005 14:15:21 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 0941B6CC25; Thu, 6 Oct 2005 14:15:20 +0800 (MYT) Date: Thu, 6 Oct 2005 14:15:25 +0800 From: Ariff Abdullah To: pyunyh@gmail.com, Alexander@Leidinger.net, noackjr@alumni.rice.edu, davidxu@FreeBSD.org Message-Id: <20051006141525.4171b911.skywizard@MyBSD.org.my> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) 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, 06 Oct 2005 06:14:58 -0000 Please take a look at my latest patchset. Ensoniq based chips does have 2 DAC, so I've decided to take advantage of it to let the driver provide 2 distinct hardware playback channels for pcm. The original intent of DAC1 actually to implement some sort of wavetable synth, but somehow this idea was (maybe) abandoned by Creative after acquiring Ensoniq. Note: The original configuration still intact i.e: Only single DAC (DAC2) enabled. If you want to enable both DACs simultanuously, set kernel hint variable (hint.pcm..dac) to the appropriate value (0 or 3). Explaination of specific configuration can be found within the source itself. You probably need to disable vchan *on purpose* to see if both DAC really doing their job properly (no, it's not a bug, it is just that sometimes vchan can lure you into thinking that both DAC already enabled). http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)