diff options
author | matk <matk@FreeBSD.org> | 2003-11-22 03:27:09 +0000 |
---|---|---|
committer | matk <matk@FreeBSD.org> | 2003-11-22 03:27:09 +0000 |
commit | de957a8958c17bb578b022e97bd69ede4e6a8068 (patch) | |
tree | 02719425abf27de8970dda13ebd278af3ce3ad0a /sys/sys/soundcard.h | |
parent | a5dc4dbeb8e0b6441dd96ff20dedbfab26711445 (diff) | |
download | FreeBSD-src-de957a8958c17bb578b022e97bd69ede4e6a8068.zip FreeBSD-src-de957a8958c17bb578b022e97bd69ede4e6a8068.tar.gz |
New defines that paves the way for new midi features and ports.
Changes consists of an IOCTL (SNDCTL_SEQ_GETTIME) and a constant.
PR: kern/59233
Approved by: tanimura (mentor)
Approved by: scottl (re)
MFC after: 3 weeks
Diffstat (limited to 'sys/sys/soundcard.h')
-rw-r--r-- | sys/sys/soundcard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index 7d4ed98..4d4c7ff 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -296,6 +296,7 @@ typedef struct _snd_capabilities { #define SNDCTL_PMGR_ACCESS _IOWR('Q',16, struct patmgr_info) #define SNDCTL_SEQ_PANIC _IO ('Q',17) #define SNDCTL_SEQ_OUTOFBAND _IOW ('Q',18, struct seq_event_rec) +#define SNDCTL_SEQ_GETTIME _IOR ('Q',19, int) struct seq_event_rec { u_char arr[8]; @@ -690,6 +691,7 @@ struct synth_info { /* Read only */ int synth_subtype; #define FM_TYPE_ADLIB 0x00 #define FM_TYPE_OPL3 0x01 +#define MIDI_TYPE_MPU401 0x401 #define SAMPLE_TYPE_BASIC 0x10 #define SAMPLE_TYPE_GUS SAMPLE_TYPE_BASIC |