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

Method getDefaultDeviceId

include/audio.hpp:36–38  ·  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

34 }
35 /** Returns the default device to use when the driver is selected, or -1 for none. */
36 virtual int getDefaultDeviceId() {
37 return -1;
38 }
39 /** Returns the name of a device without obtaining it. */
40 virtual std::string getDeviceName(int deviceId) {
41 return "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected