patch-1.3.74 linux/include/linux/soundcard.h

Next file: linux/include/linux/swap.h
Previous file: linux/include/linux/proc_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.73/linux/include/linux/soundcard.h linux/include/linux/soundcard.h
@@ -57,6 +57,7 @@
 #define SNDCARD_CS4232_MPU	22
 #define SNDCARD_MAUI		23
 #define SNDCARD_PSEUDO_MSS	24
+#define SNDCARD_GUSPNP		25
 
 /***********************************
  * IOCTL Commands for /dev/sequencer
@@ -614,12 +615,13 @@
 #define SNDCTL_DSP_GETOPTR		_IOR ('P',18, count_info)
 
 typedef struct buffmem_desc {
-		caddr_t buffer;
+		unsigned *buffer;
 		int size;
 	} buffmem_desc;
 #define SNDCTL_DSP_MAPINBUF		_IOR ('P', 19, buffmem_desc)
 #define SNDCTL_DSP_MAPOUTBUF		_IOR ('P', 20, buffmem_desc)
 #define SNDCTL_DSP_SETSYNCRO		_IO  ('P', 21)
+#define SNDCTL_DSP_SETDUPLEX		_IO  ('P', 22)
 
 #define SOUND_PCM_READ_RATE		_IOR ('P', 2, int)
 #define SOUND_PCM_READ_CHANNELS		_IOR ('P', 6, int)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this