MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / setStatus

Method setStatus

include/midi.hpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 return bytes[0] >> 4;
75 }
76 void setStatus(uint8_t status) {
77 if (bytes.size() < 1)
78 return;
79 bytes[0] = (bytes[0] & 0xf) | (status << 4);
80 }
81
82 uint8_t getNote() const {
83 if (bytes.size() < 2)

Callers 5

sendCCMethod · 0.80
sendChanPressureMethod · 0.80
sendPitchbendMethod · 0.80
panicMethod · 0.80
setGateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected