Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules Add the modules for audio, midi, and sequencer



details:   https://anonhg.NetBSD.org/src/rev/b8bb54e68f05
branches:  trunk
changeset: 824322:b8bb54e68f05
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jun 01 09:58:27 2017 +0000

description:
Add the modules for audio, midi, and sequencer

diffstat:

 sys/modules/Makefile                   |   5 ++++-
 sys/modules/audio/Makefile             |  22 ++++++++++++++++++++++
 sys/modules/audio/audio.ioconf         |   9 +++++++++
 sys/modules/midi/Makefile              |  20 ++++++++++++++++++++
 sys/modules/midi/midi.ioconf           |   9 +++++++++
 sys/modules/sequencer/Makefile         |  18 ++++++++++++++++++
 sys/modules/sequencer/sequencer.ioconf |   9 +++++++++
 7 files changed, 91 insertions(+), 1 deletions(-)

diffs (144 lines):

diff -r f64279440fce -r b8bb54e68f05 sys/modules/Makefile
--- a/sys/modules/Makefile      Thu Jun 01 09:50:35 2017 +0000
+++ b/sys/modules/Makefile      Thu Jun 01 09:58:27 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.191 2017/04/19 00:01:38 riastradh Exp $
+#      $NetBSD: Makefile,v 1.192 2017/06/01 09:58:27 pgoyette Exp $
 
 .include <bsd.own.mk>
 
@@ -8,6 +8,7 @@
 SUBDIR+=       accf_httpready
 SUBDIR+=       adosfs
 SUBDIR+=       aio
+SUBDIR+=       audio
 SUBDIR+=       blowfish
 SUBDIR+=       bpf
 SUBDIR+=       bpf_filter
@@ -77,6 +78,7 @@
 SUBDIR+=       luasystm
 SUBDIR+=       luapmf
 SUBDIR+=       mfs
+SUBDIR+=       midi
 SUBDIR+=       miiverbose
 SUBDIR+=       miniroot
 SUBDIR+=       mqueue
@@ -113,6 +115,7 @@
 SUBDIR+=       secmodel_extensions
 SUBDIR+=       secmodel_overlay
 SUBDIR+=       securelevel
+SUBDIR+=       sequencer
 SUBDIR+=       skipjack
 SUBDIR+=       slcompress
 SUBDIR+=       smbfs
diff -r f64279440fce -r b8bb54e68f05 sys/modules/audio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/audio/Makefile        Thu Jun 01 09:58:27 2017 +0000
@@ -0,0 +1,22 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev
+
+KMOD=  audio
+IOCONF=        audio.ioconf
+SRCS=  audio.c \
+       auconv.c \
+       aurateconv.c \
+       auvolconv.c \
+       mulaw.c
+
+CPPFLAGS+=     -DNAUDIO=1 -DNAURATECONV=1 -DNMULAW=1
+
+# Rather than our usual WARNS=4, we need to use 3, since there are a
+# lot of signed-vs-unsigned compares
+
+WARNS= 3
+
+.include <bsd.kmodule.mk>
diff -r f64279440fce -r b8bb54e68f05 sys/modules/audio/audio.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/audio/audio.ioconf    Thu Jun 01 09:58:27 2017 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: audio.ioconf,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
+
+ioconf audio
+
+include "conf/files"
+
+pseudo-root audiobus*
+
+audio* at audiobus?
diff -r f64279440fce -r b8bb54e68f05 sys/modules/midi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/midi/Makefile Thu Jun 01 09:58:27 2017 +0000
@@ -0,0 +1,20 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev
+
+KMOD=  midi
+IOCONF=        midi.ioconf
+SRCS=  midi.c \
+       midictl.c \
+       midisyn.c
+
+CPPFLAGS+=     -DNMIDI=1 -DNSEQUENCER=1
+
+# Rather than our usual WARNS=4, we need to use 3, since there are a
+# lot of signed-vs-unsigned compares
+
+WARNS=  3
+
+.include <bsd.kmodule.mk>
diff -r f64279440fce -r b8bb54e68f05 sys/modules/midi/midi.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/midi/midi.ioconf      Thu Jun 01 09:58:27 2017 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: midi.ioconf,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
+
+ioconf midi
+
+include "conf/files"
+
+pseudo-root midibus*
+
+midi* at midibus?
diff -r f64279440fce -r b8bb54e68f05 sys/modules/sequencer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/sequencer/Makefile    Thu Jun 01 09:58:27 2017 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev
+
+KMOD=  sequencer
+IOCONF=        sequencer.ioconf
+SRCS=  sequencer.c
+
+CPPFLAGS+=     -DNSEQUENCER=1 -DNMIDI=1
+
+# Rather than our usual WARNS=4, we need to use 3, since there are a
+# lot of signed-vs-unsigned compares
+
+WARNS=  3
+
+.include <bsd.kmodule.mk>
diff -r f64279440fce -r b8bb54e68f05 sys/modules/sequencer/sequencer.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/sequencer/sequencer.ioconf    Thu Jun 01 09:58:27 2017 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: sequencer.ioconf,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
+
+ioconf sequencer
+
+include "conf/files"
+
+pseudo-root midi*
+
+pseudo-device sequencer



Home | Main Index | Thread Index | Old Index