Go to the documentation of this file. 1 #ifndef __SOUND_EMUX_SYNTH_H
2 #define __SOUND_EMUX_SYNTH_H
28 #ifdef CONFIG_SND_SEQUENCER_OSS
37 #define SNDRV_EMUX_USE_RAW_EFFECT
69 #ifdef CONFIG_SND_SEQUENCER_OSS
78 #define SNDRV_EMUX_MAX_PORTS 32
79 #define SNDRV_EMUX_MAX_VOICES 64
80 #define SNDRV_EMUX_MAX_MULTI_VOICES 16
87 #define SNDRV_EMUX_ACCEPT_ROM (1<<0)
128 #ifdef CONFIG_PROC_FS
132 #ifdef CONFIG_SND_SEQUENCER_OSS
150 #ifdef SNDRV_EMUX_USE_RAW_EFFECT
153 #ifdef CONFIG_SND_SEQUENCER_OSS
159 #define SNDRV_EMUX_PORT_MODE_MIDI 0
160 #define SNDRV_EMUX_PORT_MODE_OSS_SYNTH 1
161 #define SNDRV_EMUX_PORT_MODE_OSS_MIDI 2
170 #define SNDRV_EMUX_ST_OFF 0x00
171 #define SNDRV_EMUX_ST_ON 0x01
172 #define SNDRV_EMUX_ST_RELEASED (0x02|SNDRV_EMUX_ST_ON)
173 #define SNDRV_EMUX_ST_SUSTAINED (0x04|SNDRV_EMUX_ST_ON)
174 #define SNDRV_EMUX_ST_STANDBY (0x08|SNDRV_EMUX_ST_ON)
175 #define SNDRV_EMUX_ST_PENDING (0x10|SNDRV_EMUX_ST_ON)
176 #define SNDRV_EMUX_ST_LOCKED 0x100
209 #define SNDRV_EMUX_UPDATE_VOLUME (1<<0)
210 #define SNDRV_EMUX_UPDATE_PITCH (1<<1)
211 #define SNDRV_EMUX_UPDATE_PAN (1<<2)
212 #define SNDRV_EMUX_UPDATE_FMMOD (1<<3)
213 #define SNDRV_EMUX_UPDATE_TREMFREQ (1<<4)
214 #define SNDRV_EMUX_UPDATE_FM2FRQ2 (1<<5)
215 #define SNDRV_EMUX_UPDATE_Q (1<<6)
218 #ifdef SNDRV_EMUX_USE_RAW_EFFECT