Lines Matching defs:control

49 	unsigned char control[128];	/* Current value of all controls */
87 void (*control)(void *private_data, int type, struct snd_midi_channel *chan);
108 #define gm_bank_select control[0]
109 #define gm_modulation control[1]
110 #define gm_breath control[2]
111 #define gm_foot_pedal control[4]
112 #define gm_portamento_time control[5]
113 #define gm_data_entry control[6]
114 #define gm_volume control[7]
115 #define gm_balance control[8]
116 #define gm_pan control[10]
117 #define gm_expression control[11]
118 #define gm_effect_control1 control[12]
119 #define gm_effect_control2 control[13]
120 #define gm_slider1 control[16]
121 #define gm_slider2 control[17]
122 #define gm_slider3 control[18]
123 #define gm_slider4 control[19]
125 #define gm_bank_select_lsb control[32]
126 #define gm_modulation_wheel_lsb control[33]
127 #define gm_breath_lsb control[34]
128 #define gm_foot_pedal_lsb control[36]
129 #define gm_portamento_time_lsb control[37]
130 #define gm_data_entry_lsb control[38]
131 #define gm_volume_lsb control[39]
132 #define gm_balance_lsb control[40]
133 #define gm_pan_lsb control[42]
134 #define gm_expression_lsb control[43]
135 #define gm_effect_control1_lsb control[44]
136 #define gm_effect_control2_lsb control[45]
138 #define gm_sustain control[MIDI_CTL_SUSTAIN]
140 #define gm_portamento control[MIDI_CTL_PORTAMENTO]
141 #define gm_sostenuto control[MIDI_CTL_SOSTENUTO]
148 #define SNDRV_GM_BANK_SELECT(cp) (((cp)->control[0]<<7)|((cp)->control[32]))
149 #define SNDRV_GM_MODULATION_WHEEL(cp) (((cp)->control[1]<<7)|((cp)->control[33]))
150 #define SNDRV_GM_BREATH(cp) (((cp)->control[2]<<7)|((cp)->control[34]))
151 #define SNDRV_GM_FOOT_PEDAL(cp) (((cp)->control[4]<<7)|((cp)->control[36]))
152 #define SNDRV_GM_PORTAMENTO_TIME(cp) (((cp)->control[5]<<7)|((cp)->control[37]))
153 #define SNDRV_GM_DATA_ENTRY(cp) (((cp)->control[6]<<7)|((cp)->control[38]))
154 #define SNDRV_GM_VOLUME(cp) (((cp)->control[7]<<7)|((cp)->control[39]))
155 #define SNDRV_GM_BALANCE(cp) (((cp)->control[8]<<7)|((cp)->control[40]))
156 #define SNDRV_GM_PAN(cp) (((cp)->control[10]<<7)|((cp)->control[42]))
157 #define SNDRV_GM_EXPRESSION(cp) (((cp)->control[11]<<7)|((cp)->control[43]))