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
This commit is contained in:
matk 2003-11-22 03:27:09 +00:00
parent a5dc4dbeb8
commit de957a8958

View File

@ -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