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

Method setClock

include/dsp/midi.hpp:183–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void setClock(bool clk) {
184 if (this->clk == clk)
185 return;
186 this->clk = clk;
187 if (clk) {
188 // Timing clock
189 midi::Message m;
190 m.setSize(1);
191 m.setStatus(0xf);
192 m.setChannel(0x8);
193 m.setFrame(frame);
194 onMessage(m);
195 }
196 }
197
198 void setStart(bool start) {
199 if (this->start == start)

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