patch-2.2.0-pre5 linux/include/linux/wavefront.h
Next file: linux/include/net/ipconfig.h
Previous file: linux/include/linux/sysctl.h
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Mon Jan 4 11:42:43 1999
- Orig file:
v2.2.0-pre4/linux/include/linux/wavefront.h
- Orig date:
Thu Sep 17 17:53:38 1998
diff -u --recursive --new-file v2.2.0-pre4/linux/include/linux/wavefront.h linux/include/linux/wavefront.h
@@ -307,7 +307,7 @@
UCHAR8 mute:1;
UCHAR8 split_point:7;
- UCHAR8 updown:1;
+ UCHAR8 play_below:1;
UCHAR8 pan_mod_src:2;
UCHAR8 pan_or_mod:1;
@@ -507,9 +507,16 @@
typedef struct wf_patch_info {
+ /* the first two fields are used by the OSS "patch loading" interface
+ only, and are unused by the current user-level library.
+ */
+
INT16 key; /* Use WAVEFRONT_PATCH here */
UINT16 devno; /* fill in when sending */
UCHAR8 subkey; /* WF_ST_{SAMPLE,ALIAS,etc.} */
+
+#define WAVEFRONT_FIND_FREE_SAMPLE_SLOT 999
+
UINT16 number; /* patch/sample/prog number */
UINT32 size; /* size of any data included in
@@ -548,12 +555,14 @@
*/
typedef struct wavefront_control {
- int devno; /* from /dev/sequencer interface */
int cmd; /* WFC_* */
char status; /* return status to user-space */
unsigned char rbuf[WF_MAX_READ]; /* bytes read from card */
unsigned char wbuf[WF_MAX_WRITE]; /* bytes written to card */
} wavefront_control;
+
+#define WFCTL_WFCMD 0x1
+#define WFCTL_LOAD_SPP 0x2
/* Modulator table */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov