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

Method getDeviceName

src/rtaudio.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 std::string getDeviceName(int deviceId) override {
64 if (rtAudio) {
65 RtAudio::DeviceInfo deviceInfo = rtAudio->getDeviceInfo(deviceId);
66 if (deviceInfo.ID > 0)
67 return deviceInfo.name;
68 }
69 return "";
70 }
71
72 int getDeviceNumInputs(int deviceId) override {
73 if (rtAudio) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected