From owner-cvs-src@FreeBSD.ORG Sun Jul 31 13:43:42 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD1D516A41F; Sun, 31 Jul 2005 13:43:42 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A038B43D46; Sun, 31 Jul 2005 13:43:42 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6VDhgVM072151; Sun, 31 Jul 2005 13:43:42 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6VDhggd072150; Sun, 31 Jul 2005 13:43:42 GMT (envelope-from netchild) Message-Id: <200507311343.j6VDhggd072150@repoman.freebsd.org> From: Alexander Leidinger Date: Sun, 31 Jul 2005 13:43:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/sound/pci via8233.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 13:43:43 -0000 netchild 2005-07-31 13:43:42 UTC FreeBSD src repository Modified files: sys/dev/sound/pci via8233.c Log: * Add locking / MPSAFE * Add kernel hint option to disable DXS channels entirely. Report from several skype users / Pav Lucistnik indicate that disabling DXS may fix lots of pop / crackling noise. To disable DXS add hint.pcm..via_dxs_disabled="1" to /boot/device.hints. Further investigation of the issues regarding DXS showed, that the problem is in another (more generic) place, but until the right fix is tested/reviewed this may help a little bit. Added sysctl's to aid testing/debugging: hint.pcm..via_dxs_disabled=X - Disable / Enable DXS channels entirely hint.pcm..via_dxs_channels=X - Limit DXS channels up to X hint.pcm..via_sgd_channels=X - Limit SGD channels up to X hint.pcm..via_dxs_src=X - Enable / Disable DXS sample rate converter. Submitted by: Ariff Abdullah Tested by: multimedia@ Revision Changes Path 1.21 +206 -82 src/sys/dev/sound/pci/via8233.c