Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
sendCC
Method · 0.80
sendChanPressure
Method · 0.80
sendPitchbend
Method · 0.80
panic
Method · 0.80
setGate
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected