MCPcopy 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

processMessageMethod · 0.45
processCCMethod · 0.45
processSystemMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected