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

Function FillMidiInput

Source/MidiController.cpp:2268–2274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2266namespace
2267{
2268 void FillMidiInput(DropdownList* list)
2269 {
2270 assert(list);
2271 const auto& devices = MidiController::GetAvailableInputDevices();
2272 for (int i = 0; i < devices.size(); ++i)
2273 list->AddLabel(devices[i].c_str(), i);
2274 }
2275
2276 void FillMidiOutput(DropdownList* list)
2277 {

Callers 1

BuildControllerListMethod · 0.85

Calls 2

sizeMethod · 0.80
AddLabelMethod · 0.45

Tested by

no test coverage detected