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

Method getDeviceName

src/audio.cpp:214–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214std::string Port::getDeviceName(int deviceId) {
215 if (!driver)
216 return "";
217 try {
218 return driver->getDeviceName(deviceId);
219 }
220 catch (Exception& e) {
221 WARN("Audio port could not get device name: %s", e.what());
222 return 0;
223 }
224}
225
226std::set<float> Port::getSampleRates() {
227 if (!device)

Callers

nothing calls this directly

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected