MCPcopy Create free account
hub / github.com/VCVRack/Rack / setStop

Method setStop

include/dsp/midi.hpp:228–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 }
227
228 void setStop(bool stop) {
229 if (this->stop == stop)
230 return;
231 this->stop = stop;
232 if (stop) {
233 // Stop
234 midi::Message m;
235 m.setSize(1);
236 m.setStatus(0xf);
237 m.setChannel(0xc);
238 m.setFrame(frame);
239 onMessage(m);
240 }
241 }
242
243 void setFrame(int64_t frame) {
244 this->frame = frame;

Callers 1

processMethod · 0.80

Calls 4

setStatusMethod · 0.80
setSizeMethod · 0.45
setChannelMethod · 0.45
setFrameMethod · 0.45

Tested by

no test coverage detected