• Home
  • Raw
  • Download

Lines Matching refs:control

329 	ev->data.control.channel = dev->buf[0] & 0x0f;  in one_param_ctrl_event()
330 ev->data.control.value = dev->buf[1]; in one_param_ctrl_event()
336 ev->data.control.channel = dev->buf[0] & 0x0f; in pitchbend_ctrl_event()
337 ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1] - 8192; in pitchbend_ctrl_event()
343 ev->data.control.channel = dev->buf[0] & 0x0f; in two_param_ctrl_event()
344 ev->data.control.param = dev->buf[1]; in two_param_ctrl_event()
345 ev->data.control.value = dev->buf[2]; in two_param_ctrl_event()
351 ev->data.control.value = dev->buf[1]; in one_param_event()
357 ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1]; in songpos_event()
431 buf[0] = ev->data.control.value & 0x7f; in one_param_decode()
437 int value = ev->data.control.value + 8192; in pitchbend_decode()
445 buf[0] = ev->data.control.param & 0x7f; in two_param_decode()
446 buf[1] = ev->data.control.value & 0x7f; in two_param_decode()
452 buf[0] = ev->data.control.value & 0x7f; in songpos_decode()
453 buf[1] = (ev->data.control.value >> 7) & 0x7f; in songpos_decode()
463 cmd = MIDI_CMD_CONTROL|(ev->data.control.channel & 0x0f); in extra_decode_ctrl14()
464 if (ev->data.control.param < 0x20) { in extra_decode_ctrl14()
474 buf[idx++] = ev->data.control.param; in extra_decode_ctrl14()
475 buf[idx++] = (ev->data.control.value >> 7) & 0x7f; in extra_decode_ctrl14()
478 buf[idx++] = ev->data.control.param + 0x20; in extra_decode_ctrl14()
479 buf[idx++] = ev->data.control.value & 0x7f; in extra_decode_ctrl14()
488 buf[idx++] = ev->data.control.param & 0x7f; in extra_decode_ctrl14()
489 buf[idx++] = ev->data.control.value & 0x7f; in extra_decode_ctrl14()
515 cmd = MIDI_CMD_CONTROL|(ev->data.control.channel & 0x0f); in extra_decode_xrpn()
516 bytes[0] = (ev->data.control.param & 0x3f80) >> 7; in extra_decode_xrpn()
517 bytes[1] = ev->data.control.param & 0x007f; in extra_decode_xrpn()
518 bytes[2] = (ev->data.control.value & 0x3f80) >> 7; in extra_decode_xrpn()
519 bytes[3] = ev->data.control.value & 0x007f; in extra_decode_xrpn()