From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 22:50:08 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 E2C5F16A41C for ; Sat, 9 Jul 2005 22:50:07 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp111.sbc.mail.mud.yahoo.com (smtp111.sbc.mail.mud.yahoo.com [68.142.198.210]) by mx1.FreeBSD.org (Postfix) with SMTP id 6313343D46 for ; Sat, 9 Jul 2005 22:50:07 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 9093 invoked from network); 9 Jul 2005 22:50:06 -0000 Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.213.247 with login) by smtp111.sbc.mail.mud.yahoo.com with SMTP; 9 Jul 2005 22:50:06 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 11FCE60F4; Sat, 9 Jul 2005 17:50:06 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07334-14; Sat, 9 Jul 2005 17:50:03 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 38D3460ED; Sat, 9 Jul 2005 17:50:03 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.4/8.13.4) with ESMTP id j69MnwPu040038; Sat, 9 Jul 2005 17:50:02 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <42D05492.6050608@alumni.rice.edu> Date: Sat, 09 Jul 2005 17:49:54 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <42D02CA9.4080201@alumni.rice.edu> <20050710051523.0a67cd91.skywizard@MyBSD.org.my> In-Reply-To: <20050710051523.0a67cd91.skywizard@MyBSD.org.my> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig685AAE55A6E5B9FD550E9024" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: 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 Reply-To: noackjr@alumni.rice.edu List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 22:50:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig685AAE55A6E5B9FD550E9024 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/09/05 16:15, Ariff Abdullah wrote: > On Sat, 09 Jul 2005 14:59:37 -0500 > Jonathan Noack wrote: >>The _real_ credit for my locking work goes to the horrible >>interactivity problems that plagued -CURRENT about a year ago. >>Adding locking to the driver was a desperate attempt to get sound >>without pauses... > > Plus, I've added hw.snd.pcm.latency_timer to reduce any > crackling noise down to nil (pciconf -w just too cryptic for that). > This really improve situation especially with VIA motherboard and > perhaps, others too. I don't experience crackling but I have an Intel motherboard (Gigabyte GA-8IHXP(2.1)). Good to know it's there in case I need it... >>I don't know if you've touched the man pages at all, but my latest >>patch includes a man page update for the spdif sysctl: >>http://www.noacks.org/freebsd/es137x.diff > > Currently I haven't touched any man pages at all. Can you do separate > patches for that? There are few new sysctls need to be documented, > perhaps you can do that too. > > es137x: > 1) hw.snd.pcm.latency_timer > - PCI latency timer adjustment. Most pops / > crackling issue can be solved by adjusting it to > appropriate value (especially on VIA mobo). > > General Sound Driver: > 1) hw.snd.feeder_rate_ratemin/ratemax > - Minimum / Maximum allowable rate > 2) hw.snd.feeder_rate_scaling > - Rate conversion precision / quality > (Most of the options already explained in > feeder_rate.c) > 3) hw.snd.feeder_rate_buffersize > - Buffer space for rate converter I'll update the es137x man page and post a patch for you, but the general page probably deserves more in-depth discussion than I can provide. > There are few LORs (during boot) with this much integrated es137x > (which I do believe false positives). Perhaps you can reproduce > it by enabling WITNESS? > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/LOR/es137x_lor.txt > (This is slightly outdated, some of it have bean dealt with) I'll try to reproduce this with WITNESS. -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig685AAE55A6E5B9FD550E9024 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC0FSWUFz01pkdgZURAkD/AJ0SHh5WgiKeCyp+xchF7Zf3h/GwhACeOn47 wVKmiVwu+OmeCbWEUV1JFjU= =zz2i -----END PGP SIGNATURE----- --------------enig685AAE55A6E5B9FD550E9024--