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

Method getDefaultInputDeviceId

include/midi.hpp:112–114  ·  view source on GitHub ↗

Returns the default device to use when the driver is selected, or -1 for none. */

Source from the content-addressed store, hash-verified

110 }
111 /** Returns the default device to use when the driver is selected, or -1 for none. */
112 virtual int getDefaultInputDeviceId() {
113 return -1;
114 }
115 /** Returns the name of an input device without obtaining it. */
116 virtual std::string getInputDeviceName(int deviceId) {
117 return "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected