patch-1.3.78 linux/drivers/sound/dev_table.h
Next file: linux/drivers/sound/dmabuf.c
Previous file: linux/drivers/sound/configure.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Mar 24 22:49:41 1996
- Orig file:
v1.3.77/linux/drivers/sound/dev_table.h
- Orig date:
Sun Mar 17 09:04:07 1996
diff -u --recursive --new-file v1.3.77/linux/drivers/sound/dev_table.h linux/drivers/sound/dev_table.h
@@ -71,8 +71,8 @@
#define MAX_SUB_BUFFERS (32*MAX_REALTIME_FACTOR)
#define DMODE_NONE 0
-#define DMODE_OUTPUT 1
-#define DMODE_INPUT 2
+#define DMODE_OUTPUT PCM_ENABLE_OUTPUT
+#define DMODE_INPUT PCM_ENABLE_INPUT
struct dma_buffparms {
int dma_mode; /* DMODE_INPUT, DMODE_OUTPUT or DMODE_NONE */
@@ -96,6 +96,8 @@
#define DMA_STARTED 0x00000008
#define DMA_EMPTY 0x00000010
#define DMA_ALLOC_DONE 0x00000020
+#define DMA_SYNCING 0x00000040
+#define DMA_CLEAN 0x00000080
int open_mode;
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