From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 10 05:55:42 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 C040316A8C2 for ; Wed, 10 Aug 2005 05:54:58 +0000 (GMT) (envelope-from michaels@sdf.lonestar.org) Received: from sdf.lonestar.org (mx.freeshell.ORG [192.94.73.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A238E43D45 for ; Tue, 9 Aug 2005 22:24:07 +0000 (GMT) (envelope-from michaels@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:michaels@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j79MN5O8004136; Tue, 9 Aug 2005 22:23:06 GMT Received: (from michaels@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j79MN4EV023072; Tue, 9 Aug 2005 22:23:04 GMT Date: Tue, 9 Aug 2005 22:23:04 +0000 From: Michael Seyfert To: freebsd-multimedia@freebsd.org Message-ID: <20050809222304.GA2491@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: skywizard@mybsd.org.my Subject: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) 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: Wed, 10 Aug 2005 05:55:43 -0000 > General sound infrastructure changes > ==================================== > > ac97.c > * Slightly new method to detect mixer capabilities and resolution. > This mostly to help CT4730, but apparently it does help other > cards too (especially via8233x). This probably need futher test > and confirmation from other people with ac97 cards other than via > / es137x. > * Aggresive dac power wake up call, again, to help CT4730 (and > probably others). Please revert src/sys/dev/sound/pcm/ac97.c back to 1.43, these changes mess up the volume control on my audigy 2 card. It seems the struct ac97mixtable_entry.bits field isn't getting properly setup. I'm not sure what you're doing with this code: for (k = 0; j != 0; k++) j >>= 1; for (j = 0; k != 0; j++) k >>= 1; if (j != 0) { codec->mix[i].enable = 1; #if 0 codec->mix[i].bits = j; #endif } else codec->mix[i].enable = 0;