Go to the documentation of this file.
14 #ifndef _SOUND_CONFIG_H_
15 #define _SOUND_CONFIG_H_
18 #include <linux/sound.h>
24 #ifndef SND_DEFAULT_ENABLE
25 #define SND_DEFAULT_ENABLE 1
28 #ifndef MAX_REALTIME_FACTOR
29 #define MAX_REALTIME_FACTOR 4
36 #define DSP_BUFFSIZE (64*1024)
39 #define DSP_BUFFCOUNT 1
44 #ifndef CONFIG_PAS_BASE
45 #define CONFIG_PAS_BASE 0x388
50 #define SEQ_MAX_QUEUE 1024
52 #define SBFM_MAXINSTR (256)
57 #define DSP_DEFAULT_SPEED 8000
59 #define MAX_AUDIO_DEV 5
60 #define MAX_MIXER_DEV 5
61 #define MAX_SYNTH_DEV 5
62 #define MAX_MIDI_DEV 6
63 #define MAX_TIMER_DEV 4
80 #define SYNTH_MAX_VOICES 32
102 #define WK_WAKEUP 0x01
103 #define WK_TIMEOUT 0x02
104 #define WK_SIGNAL 0x04
105 #define WK_SLEEP 0x08
106 #define WK_SELECT 0x10
107 #define WK_ABORT 0x20
109 #define OPEN_READ PCM_ENABLE_INPUT
110 #define OPEN_WRITE PCM_ENABLE_OUTPUT
111 #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE)
113 static inline int translate_mode(
struct file *
file)
131 #define DDB(x) do {} while (0)
142 #define TIMER_ARMED 121234
143 #define TIMER_NOT_ARMED 1
145 #define MAX_MEM_BLOCKS 1024