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

Method InitDevice

Source/MidiClockIn.cpp:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void MidiClockIn::InitDevice()
71{
72 BuildDeviceList();
73
74 const std::vector<std::string>& devices = mDevice.GetPortList(true);
75 for (int i = 0; i < devices.size(); ++i)
76 {
77 if (strcmp(devices[i].c_str(), mDevice.Name()) == 0)
78 mDeviceIndex = i;
79 }
80}
81
82float MidiClockIn::GetRoundedTempo()
83{

Callers

nothing calls this directly

Calls 3

GetPortListMethod · 0.80
sizeMethod · 0.80
NameMethod · 0.45

Tested by

no test coverage detected