From owner-cvs-all Sat Nov 13 10:31:45 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7370914FCD; Sat, 13 Nov 1999 10:31:32 -0800 (PST) (envelope-from dfr@FreeBSD.org) Received: (from dfr@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA45865; Sat, 13 Nov 1999 10:31:32 -0800 (PST) (envelope-from dfr@FreeBSD.org) Message-Id: <199911131831.KAA45865@freefall.freebsd.org> From: Doug Rabson Date: Sat, 13 Nov 1999 10:31:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pcm dsp.c src/sys/dev/pcm/isa es1888.c sb.c sb.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dfr 1999/11/13 10:31:31 PST Modified files: sys/dev/pcm dsp.c sys/dev/pcm/isa sb.c sb.h Added files: sys/dev/pcm/isa es1888.c Log: * Ignore the wierd fakechan workarounds for simplex in dsp_ioctl(). Without this, ioctl commands for setting formats and speeds were essentially ignored for simplex devices until the application actually performed a read or write. * Make sure that both channels are set in the SB mixer code and provide a mixer table specifically for the ess18xx which supports the extended accuracy available on this part. * Fix a stupid bug in ess_format() which ignored the passed-in format and changed the hardware based on the value which was set last time. This meant that the hardware setting was often not set correctly at all. * Add a custom identify driver for the ESS1888 which automagically detects and adds the device in a pseudo-PnP way. This driver also emits the magic sequence which enables the sound hardware after a hard reset, allowing it to work correctly for the sound hardware of a PWS 433au (and probably all other PWS class alpha machines). With these changes, I was able to play back simple sounds on my 433au. I have not tested recording or any other formats other than 8bit ulaw and 16bit stereo. Revision Changes Path 1.7 +3 -2 src/sys/dev/pcm/dsp.c 1.30 +29 -17 src/sys/dev/pcm/isa/sb.c 1.9 +17 -0 src/sys/dev/pcm/isa/sb.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message