Browse Source

Rename USB MIDI 3-input sendAfterTouch, solves ambiguous overload

teensy4-core
PaulStoffregen 7 years ago
parent
commit
dc614d8123
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      teensy3/usb_midi.h
  2. +1
    -1
      usb_midi/usb_api.h

+ 1
- 1
teensy3/usb_midi.h View File

void sendPolyPressure(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) __attribute__((always_inline)) { void sendPolyPressure(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) __attribute__((always_inline)) {
send(0xA0, note, pressure, channel, cable); send(0xA0, note, pressure, channel, cable);
} }
void sendAfterTouch(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) __attribute__((always_inline)) {
void sendAfterTouchPoly(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) __attribute__((always_inline)) {
send(0xA0, note, pressure, channel, cable); send(0xA0, note, pressure, channel, cable);
} }
void sendControlChange(uint8_t control, uint8_t value, uint8_t channel, uint8_t cable=0) __attribute__((always_inline)) { void sendControlChange(uint8_t control, uint8_t value, uint8_t channel, uint8_t cable=0) __attribute__((always_inline)) {

+ 1
- 1
usb_midi/usb_api.h View File

void sendPolyPressure(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) { void sendPolyPressure(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) {
send(0xA0, note, pressure, channel, cable); send(0xA0, note, pressure, channel, cable);
} }
void sendAfterTouch(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) {
void sendAfterTouchPoly(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) {
send(0xA0, note, pressure, channel, cable); send(0xA0, note, pressure, channel, cable);
} }
void sendControlChange(uint8_t control, uint8_t value, uint8_t channel, uint8_t cable=0) { void sendControlChange(uint8_t control, uint8_t value, uint8_t channel, uint8_t cable=0) {

Loading…
Cancel
Save