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

Method BuildDeviceList

Source/MidiClockOut.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void MidiClockOut::BuildDeviceList()
89{
90 mDeviceList->Clear();
91 const std::vector<std::string>& devices = mDevice.GetPortList(false);
92 for (int i = 0; i < devices.size(); ++i)
93 mDeviceList->AddLabel(devices[i].c_str(), i);
94}
95
96void MidiClockOut::OnTransportAdvanced(float amount)
97{

Callers

nothing calls this directly

Calls 4

GetPortListMethod · 0.80
sizeMethod · 0.80
ClearMethod · 0.45
AddLabelMethod · 0.45

Tested by

no test coverage detected