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

Method BuildControllerList

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

Source from the content-addressed store, hash-verified

86}
87
88void MidiOutputModule::BuildControllerList()
89{
90 mControllerList->Clear();
91 const std::vector<std::string>& devices = mDevice.GetPortList(false);
92 for (int i = 0; i < devices.size(); ++i)
93 mControllerList->AddLabel(devices[i].c_str(), i);
94}
95
96void MidiOutputModule::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
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