summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/midi
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-06-18 14:14:41 +0000
committernetchild <netchild@FreeBSD.org>2006-06-18 14:14:41 +0000
commit9a0a1c68845bc88e1b7600d635f8dcda0c45f0dc (patch)
tree8b67c4ac2d3277d428aa4bedc603b397a5a6027e /sys/dev/sound/midi
parent254be6b7c4407cf97c68858b0875bf0a2fcb8cc4 (diff)
downloadFreeBSD-src-9a0a1c68845bc88e1b7600d635f8dcda0c45f0dc.zip
FreeBSD-src-9a0a1c68845bc88e1b7600d635f8dcda0c45f0dc.tar.gz
- Rename hw.snd.unit to hw.snd.default_unit to make the purpose more obvious.
- Enable 4 automatic vchan's by default. - Add some comments which provide ides/questions for improvement. - Prefix some temporary sysctl's with an underscore to denote that it is not an official API but a workaround until the real solution is implemented.
Diffstat (limited to 'sys/dev/sound/midi')
-rw-r--r--sys/dev/sound/midi/midi.c1
-rw-r--r--sys/dev/sound/midi/sequencer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c
index 4bb4646..36daf5f 100644
--- a/sys/dev/sound/midi/midi.c
+++ b/sys/dev/sound/midi/midi.c
@@ -244,6 +244,7 @@ SYSCTL_NODE(_hw, OID_AUTO, midi, CTLFLAG_RD, 0, "Midi driver");
SYSCTL_NODE(_hw_midi, OID_AUTO, stat, CTLFLAG_RD, 0, "Status device");
int midi_debug;
+/* XXX: should this be moved into debug.midi? */
SYSCTL_INT(_hw_midi, OID_AUTO, debug, CTLFLAG_RW, &midi_debug, 0, "");
int midi_dumpraw;
diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c
index 87319f7..b179492 100644
--- a/sys/dev/sound/midi/sequencer.c
+++ b/sys/dev/sound/midi/sequencer.c
@@ -153,6 +153,7 @@ struct seq_softc {
SYSCTL_NODE(_hw_midi, OID_AUTO, seq, CTLFLAG_RD, 0, "Midi sequencer");
int seq_debug;
+/* XXX: should this be moved into debug.midi? */
SYSCTL_INT(_hw_midi_seq, OID_AUTO, debug, CTLFLAG_RW, &seq_debug, 0, "");
midi_cmdtab cmdtab_seqevent[] = {
OpenPOWER on IntegriCloud