From owner-freebsd-multimedia Mon May 11 01:03:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00514 for freebsd-multimedia-outgoing; Mon, 11 May 1998 01:03:35 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA00432 for ; Mon, 11 May 1998 01:02:17 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA17323; Mon, 11 May 1998 08:28:47 +0200 From: Luigi Rizzo Message-Id: <199805110628.IAA17323@labinfo.iet.unipi.it> Subject: Re: GusPNP + 2.2.6 = static To: dwhite@resnet.uoregon.edu Date: Mon, 11 May 1998 08:28:47 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: from "Doug White" at May 10, 98 11:05:25 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hello .. tsia. Upgraded to 2.2.6 today, built a new kernel with pcm0 and > controller pnp0, finds GUS PnP okay, but cat somefile.au > /dev/audio1 > gives static. Is there something I missed? The way i configure the CODEC on the GUS (mode 1) seems to generate incorrect behaviour with mu-law. I cannot tell if it is a bug in the codec (it emulates a CS423x, and the latter work fine with my configuration) or my fault -- in mode 3, i have reports that mu-law works fine. I thought I fixed the problem by setting the card in 8-but unsigned and doing the conversion in software -- not a real fix since you have only 8-bit dynamic range instead of 13, but better than nothing... I will check and fix it in the next days. The OPTI931 has a similar problem (sort of, since there it only appears in full duplex operation -- probably the ulaw<->linear section is shared between the capture and playback section). If you want to try it, look at what is done in ad1848.c -- mss_format(): probably the line if (d->bd_id == MD_OPTI931) { should be changed to if (d->bd_id == MD_OPTI931 || d->bd_id == MD_GUSPNP) { and that should suffice. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message