Lines Matching refs:chn
993 * 0x02 = Channel event (event[3] = chn).
1063 extern void OSS_patch_caching(int dev, int chn, int patch,
1065 extern void OSS_drum_caching(int dev, int chn, int patch,
1151 #define _CHN_VOICE(dev, event, chn, note, parm) \
1156 _seqbuf[_seqbufptr+3] = (chn);\
1163 #define SEQ_START_NOTE(dev, chn, note, vol) \
1164 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
1166 #define SEQ_STOP_NOTE(dev, chn, note, vol) \
1167 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
1169 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
1170 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
1176 #define _CHN_COMMON(dev, event, chn, p1, p2, w14) \
1181 _seqbuf[_seqbufptr+3] = (chn);\
1214 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \
1215 _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
1219 # define SEQ_PGM_CHANGE(dev, chn, patch) \
1220 {OSS_patch_caching(dev, chn, patch, seqfd, _seqbuf, _seqbuflen); \
1221 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0);}
1223 # define SEQ_PGM_CHANGE(dev, chn, patch) \
1224 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
1227 #define SEQ_CONTROL(dev, chn, controller, value) \
1228 _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
1230 #define SEQ_BENDER(dev, chn, value) \
1231 _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)