Lines Matching refs:chn
1051 extern void OSS_patch_caching(int dev, int chn, int patch,
1053 extern void OSS_drum_caching(int dev, int chn, int patch,
1139 #define _CHN_VOICE(dev, event, chn, note, parm) \ argument
1144 _seqbuf[_seqbufptr+3] = (chn);\
1151 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument
1152 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
1154 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument
1155 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
1157 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ argument
1158 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
1164 #define _CHN_COMMON(dev, event, chn, p1, p2, w14) \ argument
1169 _seqbuf[_seqbufptr+3] = (chn);\
1202 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ argument
1203 _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
1207 # define SEQ_PGM_CHANGE(dev, chn, patch) \ argument
1208 {OSS_patch_caching(dev, chn, patch, seqfd, _seqbuf, _seqbuflen); \
1209 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0);}
1211 # define SEQ_PGM_CHANGE(dev, chn, patch) \ argument
1212 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
1215 #define SEQ_CONTROL(dev, chn, controller, value) \ argument
1216 _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
1218 #define SEQ_BENDER(dev, chn, value) \ argument
1219 _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)