Go to the documentation of this file.
21 #ifndef __SEQ_OSS_DEVICE_H
22 #define __SEQ_OSS_DEVICE_H
24 #include <linux/time.h>
25 #include <linux/wait.h>
26 #include <linux/slab.h>
27 #include <linux/sched.h>
35 #define SNDRV_SEQ_OSS_DEBUG
38 #define SNDRV_SEQ_OSS_MAX_CLIENTS 16
39 #define SNDRV_SEQ_OSS_MAX_SYNTH_DEVS 16
40 #define SNDRV_SEQ_OSS_MAX_MIDI_DEVS 32
43 #define SNDRV_SEQ_OSS_MAJOR_VERSION 0
44 #define SNDRV_SEQ_OSS_MINOR_VERSION 1
45 #define SNDRV_SEQ_OSS_TINY_VERSION 8
46 #define SNDRV_SEQ_OSS_VERSION_STR "0.1.8"
49 #define SNDRV_SEQ_OSS_DEVNAME "seq_oss"
50 #define SNDRV_SEQ_OSS_PROCNAME "oss"
147 #define is_read_mode(mode) ((mode) & SNDRV_SEQ_OSS_FILE_READ)
148 #define is_write_mode(mode) ((mode) & SNDRV_SEQ_OSS_FILE_WRITE)
149 #define is_nonblock_mode(mode) ((mode) & SNDRV_SEQ_OSS_FILE_NONBLOCK)
172 ev->
dest.client = dest_client;
182 #ifdef SNDRV_SEQ_OSS_DEBUG
184 #define debug_printk(x) do { if (seq_oss_debug > 0) snd_printd x; } while (0)
186 #define debug_printk(x)