From owner-freebsd-multimedia Wed Jan 1 19:20: 2 2003 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 7740637B401 for ; Wed, 1 Jan 2003 19:20:00 -0800 (PST) Received: from web13504.mail.yahoo.com (web13504.mail.yahoo.com [216.136.175.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 01A5643EB2 for ; Wed, 1 Jan 2003 19:20:00 -0800 (PST) (envelope-from dyeske@yahoo.com) Message-ID: <20030102031959.59489.qmail@web13504.mail.yahoo.com> Received: from [24.197.166.118] by web13504.mail.yahoo.com via HTTP; Wed, 01 Jan 2003 19:19:59 PST Date: Wed, 1 Jan 2003 19:19:59 -0800 (PST) From: David Yeske Subject: sound debugging To: current@freebsd.org Cc: multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org So right now there is no clean way to debug sound in FreeBSD. I modified my system running current so that I now have a PCM_DEBUG option. I set up oid's in the same way that many usb drivers do with DPRINTF / DPRINTFN. So I now have hw.snd.drivername.debug oid's. Is the method used for usb debugging the "best way". I am referring to the usage of USB_DEBUG which creates opt_usb.h. When USB_DEBUG is defined than the DPRINTF / DPRINTFN macros become defined with some sysctl's. If debugging is not defined do the DPRINTF / DPRINTFN lines go into the drivers once compiled and slow it down or bloat it? Regards, David Yeske __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message