MCPcopy Create free account
hub / github.com/VCVRack/Rack / getDeviceName

Method getDeviceName

src/midi.cpp:266–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266std::string Input::getDeviceName(int deviceId) {
267 if (!driver)
268 return "";
269 try {
270 return driver->getInputDeviceName(deviceId);
271 }
272 catch (Exception& e) {
273 WARN("MIDI port could not get input device name: %s", e.what());
274 return "";
275 }
276}
277
278std::vector<int> Input::getChannels() {
279 std::vector<int> channels;

Callers 2

appendMidiDeviceMenuFunction · 0.45
appendAudioDeviceMenuFunction · 0.45

Calls 3

whatMethod · 0.80
getInputDeviceNameMethod · 0.45
getOutputDeviceNameMethod · 0.45

Tested by

no test coverage detected