MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / InitDevice

Method InitDevice

Source/MidiClockOut.cpp:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void MidiClockOut::InitDevice()
67{
68 BuildDeviceList();
69
70 const std::vector<std::string>& devices = mDevice.GetPortList(false);
71 for (int i = 0; i < devices.size(); ++i)
72 {
73 if (strcmp(devices[i].c_str(), mDevice.Name()) == 0)
74 mDeviceIndex = i;
75 }
76}
77
78void MidiClockOut::DrawModule()
79{

Callers

nothing calls this directly

Calls 3

GetPortListMethod · 0.80
sizeMethod · 0.80
NameMethod · 0.45

Tested by

no test coverage detected