diff options
author | tanimura <tanimura@FreeBSD.org> | 2000-07-11 11:49:33 +0000 |
---|---|---|
committer | tanimura <tanimura@FreeBSD.org> | 2000-07-11 11:49:33 +0000 |
commit | 7716c5370ad4c724650bb6def35750d561bc11d2 (patch) | |
tree | 9a29f2cea6e8dc8339d0261df8deae0201372989 /sys/sys/soundcard.h | |
parent | 6cecb051f3990a02c86edb2060aa93c44e6d49da (diff) | |
download | FreeBSD-src-7716c5370ad4c724650bb6def35750d561bc11d2.zip FreeBSD-src-7716c5370ad4c724650bb6def35750d561bc11d2.tar.gz |
Finally merge newmidi.
(I had been busy for my own research activity until the last weekend)
Supported devices:
SB Midi Port (sbc + midi)
SB OPL3 (sbc + midi)
16550 UART (midi, needs a trick in your hint)
CS461x Midi Port (csa + midi)
OSS-compatible sequencer (seq)
Supported playing software:
playmidi (We definitely need more)
Notes:
/dev/midistat now reports installed midi drivers. /dev/sndstat reports
only pcm drivers. We need the new name(pcmstat?).
EMU8000(SB AWE) does not sound yet but does get probed so that the OPL3
synth on an AWE card works.
TODO:
MSS/PCI bridge drivers
Midi-tty interface to support general serial devices
Modules
Diffstat (limited to 'sys/sys/soundcard.h')
-rw-r--r-- | sys/sys/soundcard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index e608b34..762250d 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -91,6 +91,8 @@ #define SNDCARD_PSEUDO_MSS 24 #define SNDCARD_AWE32 25 #define SNDCARD_NSS 26 +#define SNDCARD_UART16550 27 +#define SNDCARD_OPL 28 #include <sys/types.h> #ifndef _IOWR @@ -704,6 +706,8 @@ typedef struct { #define SNDCTL_MIDI_PRETIME _IOWR('m', 0, int) #define SNDCTL_MIDI_MPUMODE _IOWR('m', 1, int) #define SNDCTL_MIDI_MPUCMD _IOWR('m', 2, mpu_command_rec) +#define MIOSPASSTHRU _IOWR('m', 3, int) +#define MIOGPASSTHRU _IOWR('m', 4, int) /* * IOCTL commands for /dev/dsp and /dev/audio |