Lines Matching +full:- +full:chn +full:- +full:disabled

2  * Copyright by Hannu Savolainen 1993-1997
228 #define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
229 #define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
233 #define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
269 int panning; /* -128=left, 127=right */
378 /* undefined 0x14 - 0x1f */
395 /* undefined 0x46 - 0x4f */
401 /* undefined 0x54 - 0x5a */
414 /* undefined 0x66 - 0x78 */
415 /* reserved 0x79 - 0x7f */
475 short device; /* Synth# (0-4) */
482 int device; /* 0-N. INITIALIZE BEFORE CALLING */
513 #define MIDI_CAP_MPU401 1 /* MPU-401 intelligent mode */
517 int device; /* 0-N. INITIALIZE BEFORE CALLING */
657 * disabled which saves CPU time but also let's the previous buffer content to
779 /* Some on/off settings (SOUND_SPECIAL_MIN - SOUND_SPECIAL_MAX) */
985 * 0x02 = Channel event (event[3] = chn).
1046 * the OSSlib-3.8 style interface. It is no longer possible
1051 * the GPL version of OSS-4.x and build against that version
1074 * SEQ_DEFINEBUF (2048); -- Defines a buffer for 2048 bytes
1076 * int seqfd; -- The file descriptor for /dev/sequencer.
1082 * if (write (seqfd, _seqbuf, _seqbufptr) == -1)
1085 * exit (-1);
1128 #define _CHN_VOICE(dev, event, chn, note, parm) \ argument
1133 _seqbuf[_seqbufptr+3] = (chn);\
1140 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument
1141 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
1143 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument
1144 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
1146 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ argument
1147 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
1153 #define _CHN_COMMON(dev, event, chn, p1, p2, w14) \ argument
1158 _seqbuf[_seqbufptr+3] = (chn);\
1171 * and the last byte (buf[len-1] of the last fragment must be 0xf7. No byte
1191 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ argument
1192 _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
1195 #define SEQ_PGM_CHANGE(dev, chn, patch) \ argument
1196 _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
1198 #define SEQ_CONTROL(dev, chn, controller, value) \ argument
1199 _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
1201 #define SEQ_BENDER(dev, chn, value) \ argument
1202 _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)
1276 if (write(seqfd, (char*)(patchx), len)==-1) \