Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getChannel
Method
getChannel
include/midi.hpp:35–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
uint8_t getChannel() const {
36
if (bytes.size() < 1)
37
return 0;
38
return bytes[0] & 0xf;
39
}
40
void setChannel(uint8_t channel) {
41
if (bytes.size() < 1)
42
return;
Callers
3
processMessage
Method · 0.45
processCC
Method · 0.45
processSystem
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected