From owner-cvs-all Sat Mar 24 15:10:48 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 71B0537B71D; Sat, 24 Mar 2001 15:10:31 -0800 (PST) (envelope-from cg@FreeBSD.org) Received: (from cg@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2ONAVg04978; Sat, 24 Mar 2001 15:10:31 -0800 (PST) (envelope-from cg) Message-Id: <200103242310.f2ONAVg04978@freefall.freebsd.org> From: Cameron Grant Date: Sat, 24 Mar 2001 15:10:31 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/isa ad1816.c ess.c mss.c mss.h sb.h sb16.c sb8.c sbc.c src/sys/dev/sound/pci aureal.c cmi.c cs4281.c csa.c csapcm.c ds1.c emu10k1.c es137x.c fm801.c maestro.c maestro3.c neomagic.c solo.c t4dwave.c via82c686.c vibes.c ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cg 2001/03/24 15:10:30 PST Modified files: sys/dev/sound/isa ad1816.c ess.c mss.c mss.h sb.h sb16.c sb8.c sbc.c sys/dev/sound/pci aureal.c cmi.c cs4281.c csa.c csapcm.c ds1.c emu10k1.c es137x.c fm801.c maestro.c maestro3.c neomagic.c solo.c t4dwave.c via82c686.c vibes.c sys/dev/sound/pcm ac97.c ac97.h buffer.c buffer.h channel.c channel.h channel_if.m datatypes.h dsp.c dsp.h fake.c feeder.c feeder.h feeder_fmt.c feeder_if.m mixer.c mixer.h mixer_if.m sound.c sound.h Log: mega-commit. this introduces a new buffering mechanism which results in dramatic simplification of the channel manager. as several structures have changed, we take the opportunity to move their definitions into the source files where they are used, make them private and de-typedef them. the sound drivers are updated to use snd_setup_intr instead of bus_setup_intr, and to comply with the de-typedefed structures. the ac97, mixer and channel layers have been updated with finegrained locking, as have some drivers- not all though. the rest will follow soon. Revision Changes Path 1.17 +40 -20 src/sys/dev/sound/isa/ad1816.c 1.17 +35 -22 src/sys/dev/sound/isa/ess.c 1.65 +100 -31 src/sys/dev/sound/isa/mss.c 1.10 +18 -1 src/sys/dev/sound/isa/mss.h 1.14 +9 -4 src/sys/dev/sound/isa/sb.h 1.66 +54 -32 src/sys/dev/sound/isa/sb16.c 1.63 +44 -26 src/sys/dev/sound/isa/sb8.c 1.31 +52 -11 src/sys/dev/sound/isa/sbc.c 1.17 +10 -10 src/sys/dev/sound/pci/aureal.c 1.4 +12 -12 src/sys/dev/sound/pci/cmi.c 1.4 +8 -8 src/sys/dev/sound/pci/cs4281.c 1.13 +2 -2 src/sys/dev/sound/pci/csa.c 1.18 +9 -9 src/sys/dev/sound/pci/csapcm.c 1.23 +27 -16 src/sys/dev/sound/pci/ds1.c 1.21 +57 -61 src/sys/dev/sound/pci/emu10k1.c 1.33 +12 -13 src/sys/dev/sound/pci/es137x.c 1.7 +9 -11 src/sys/dev/sound/pci/fm801.c 1.9 +11 -12 src/sys/dev/sound/pci/maestro.c 1.3 +20 -19 src/sys/dev/sound/pci/maestro3.c 1.22 +9 -10 src/sys/dev/sound/pci/neomagic.c 1.19 +12 -12 src/sys/dev/sound/pci/solo.c 1.23 +29 -17 src/sys/dev/sound/pci/t4dwave.c 1.9 +123 -222 src/sys/dev/sound/pci/via82c686.c 1.3 +11 -11 src/sys/dev/sound/pci/vibes.c 1.19 +44 -10 src/sys/dev/sound/pcm/ac97.c 1.8 +2 -10 src/sys/dev/sound/pcm/ac97.h 1.3 +444 -48 src/sys/dev/sound/pcm/buffer.c 1.2 +65 -19 src/sys/dev/sound/pcm/buffer.h 1.52 +462 -846 src/sys/dev/sound/pcm/channel.c 1.17 +64 -34 src/sys/dev/sound/pcm/channel.h 1.3 +4 -4 src/sys/dev/sound/pcm/channel_if.m 1.25 +2 -2 src/sys/dev/sound/pcm/datatypes.h 1.35 +153 -138 src/sys/dev/sound/pcm/dsp.c 1.3 +8 -8 src/sys/dev/sound/pcm/dsp.h 1.8 +20 -10 src/sys/dev/sound/pcm/fake.c 1.15 +39 -33 src/sys/dev/sound/pcm/feeder.c 1.4 +21 -6 src/sys/dev/sound/pcm/feeder.h 1.4 +25 -25 src/sys/dev/sound/pcm/feeder_fmt.c 1.3 +9 -9 src/sys/dev/sound/pcm/feeder_if.m 1.18 +76 -64 src/sys/dev/sound/pcm/mixer.c 1.9 +18 -14 src/sys/dev/sound/pcm/mixer.h 1.3 +7 -7 src/sys/dev/sound/pcm/mixer_if.m 1.41 +41 -49 src/sys/dev/sound/pcm/sound.c 1.29 +25 -5 src/sys/dev/sound/pcm/sound.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message