summaryrefslogtreecommitdiffstats
path: root/sys/sys/soundcard.h
diff options
context:
space:
mode:
authormatk <matk@FreeBSD.org>2003-11-22 03:27:09 +0000
committermatk <matk@FreeBSD.org>2003-11-22 03:27:09 +0000
commitde957a8958c17bb578b022e97bd69ede4e6a8068 (patch)
tree02719425abf27de8970dda13ebd278af3ce3ad0a /sys/sys/soundcard.h
parenta5dc4dbeb8e0b6441dd96ff20dedbfab26711445 (diff)
downloadFreeBSD-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.h2
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
OpenPOWER on IntegriCloud