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

Method BuildDeviceList

Source/MidiClockIn.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void MidiClockIn::BuildDeviceList()
128{
129 mDeviceList->Clear();
130 const std::vector<std::string>& devices = mDevice.GetPortList(true);
131 for (int i = 0; i < devices.size(); ++i)
132 mDeviceList->AddLabel(devices[i].c_str(), i);
133}
134
135void MidiClockIn::OnMidi(const juce::MidiMessage& message)
136{

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