summaryrefslogtreecommitdiffstats
path: root/sys/modules/sound
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-05-27 16:32:05 +0000
committernetchild <netchild@FreeBSD.org>2006-05-27 16:32:05 +0000
commit1686236080ff0b123f20b3803d45c86d309f8075 (patch)
tree0406c26b6dc368bdc75af131baf0caf8a5269378 /sys/modules/sound
parent25066c8b6babc9083a1ad23071861dfc2c93f519 (diff)
downloadFreeBSD-src-1686236080ff0b123f20b3803d45c86d309f8075.zip
FreeBSD-src-1686236080ff0b123f20b3803d45c86d309f8075.tar.gz
Commit the new (old) midi framework. It's based in parts on the NetBSD code,
but large parts are rewritten by matk and tanimura. This is old code, it's not maintained since 2003. We also don't have a maintainer for this! Yuriy Tsibizov took it and uses it in his emu10kx driver. Since the emu10kx driver will enter the tree "soon" (some bugs have to be fixed after Yuriy return from his holidays), I add it here already. This also contains some changes to emu10k1 and cmi, so if you're lucky, you can now make some kind of use of midi with those soundcards. To all those poor souls which don't have such a card: feel free to send patches, we don't have a maintainer for this. To those which miss a specific feature in the midi code: feel free to submit patches, we don't have a maintainer for this. Oh, did I already told that it would be nice if someone would take care of it? Maintainer with midi equipment wanted! :-) If you get LOR's, submit a PR and notify multimedia@ please. If you get panics, submit a PR with a backtrace (compile the sound system into your kernel instead of using modules in this case) and notify multimedia@ please. Written by: matk, tanimura Submitted by: "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru> Based upon: code from NetBSD
Diffstat (limited to 'sys/modules/sound')
-rw-r--r--sys/modules/sound/driver/cmi/Makefile1
-rw-r--r--sys/modules/sound/driver/emu10k1/Makefile1
-rw-r--r--sys/modules/sound/sound/Makefile4
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/modules/sound/driver/cmi/Makefile b/sys/modules/sound/driver/cmi/Makefile
index 85f9ba1..551af42 100644
--- a/sys/modules/sound/driver/cmi/Makefile
+++ b/sys/modules/sound/driver/cmi/Makefile
@@ -4,6 +4,7 @@
KMOD= snd_cmi
SRCS= device_if.h bus_if.h pci_if.h
+SRCS+= mpufoi_if.h
SRCS+= cmi.c
.include <bsd.kmod.mk>
diff --git a/sys/modules/sound/driver/emu10k1/Makefile b/sys/modules/sound/driver/emu10k1/Makefile
index 3d9984c..14fc0c9 100644
--- a/sys/modules/sound/driver/emu10k1/Makefile
+++ b/sys/modules/sound/driver/emu10k1/Makefile
@@ -5,6 +5,7 @@
KMOD= snd_emu10k1
SRCS= device_if.h bus_if.h pci_if.h emu10k1-alsa%diked.h
+SRCS+= mpufoi_if.h
SRCS+= emu10k1.c
CLEANFILES+= emu10k1-alsa%diked.h
diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile
index 08c883d..5615a0c 100644
--- a/sys/modules/sound/sound/Makefile
+++ b/sys/modules/sound/sound/Makefile
@@ -1,15 +1,19 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/sound/pcm
+.PATH: ${.CURDIR}/../../../dev/sound/midi
.PATH: ${.CURDIR}/../../../dev/sound/isa
KMOD= sound
SRCS= device_if.h bus_if.h isa_if.h pci_if.h opt_isa.h
SRCS+= ac97_if.h channel_if.h feeder_if.h mixer_if.h
SRCS+= ac97_if.c channel_if.c feeder_if.c mixer_if.c
+SRCS+= mpu_if.h mpufoi_if.h synth_if.h
+SRCS+= mpu_if.c mpufoi_if.c synth_if.c
SRCS+= ac97.c ac97_patch.c buffer.c channel.c dsp.c
SRCS+= fake.c feeder.c feeder_fmt.c feeder_rate.c feeder_volume.c
SRCS+= mixer.c sndstat.c sound.c vchan.c
+SRCS+= midi.c mpu401.c sequencer.c
EXPORT_SYMS= YES # XXX evaluate
OpenPOWER on IntegriCloud