kern/59233: patch to soundcard.h to include an ioctl and a constant for midi

Mathew Kanner mat at hak.cnd.mcgill.ca
Wed Nov 12 14:10:16 PST 2003


>Number:         59233
>Category:       kern
>Synopsis:       patch to soundcard.h to include an ioctl and a constant for midi
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 14:10:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathew Kanner
>Release:        FreeBSD 5.x
>Organization:
>Environment:
System: FreeBSD tube.mine.nu 5.1-CURRENT-20031021-JPSNAP FreeBSD 5.1-CURRENT-20031021-JPSNAP #0: Tue Oct 21 01:07:08 GMT 2003     root at ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386


	
>Description:
	Current software requires the ioctl and mpu401 constant
	
>How-To-Repeat:
	
>Fix:


--- soundcard.h.orig	Wed Nov 12 16:31:24 2003
+++ soundcard.h	Wed Nov 12 16:38:12 2003
@@ -296,6 +296,7 @@
 #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 @@
 	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
	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list