Lines Matching refs:chn
574 EXTERNC void OSS_patch_caching (int dev, int chn, int patch, int fd,
576 EXTERNC void OSS_drum_caching (int dev, int chn, int patch, int fd,
665 #define _CHN_VOICE(dev, event, chn, note, parm) \ argument
670 _seqbuf[_seqbufptr+3] = (chn);\
677 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument
678 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
680 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument
681 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
683 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ argument
684 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
690 #define _CHN_COMMON(dev, event, chn, p1, p2, w14) \ argument
695 _seqbuf[_seqbufptr+3] = (chn);\
728 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ argument
729 _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
733 # define SEQ_PGM_CHANGE(dev, chn, patch) \ argument
734 {OSS_patch_caching(dev, chn, patch, seqfd, _seqbuf, _seqbuflen); \
735 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0);}
737 # define SEQ_PGM_CHANGE(dev, chn, patch) \ argument
738 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
741 #define SEQ_CONTROL(dev, chn, controller, value) \ argument
742 _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
744 #define SEQ_BENDER(dev, chn, value) \ argument
745 _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)