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

Method getDeviceNumOutputs

src/audio.cpp:202–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202int Port::getDeviceNumOutputs(int deviceId) {
203 if (!driver)
204 return 0;
205 try {
206 return driver->getDeviceNumOutputs(deviceId);
207 }
208 catch (Exception& e) {
209 WARN("Audio port could not get device number of outputs: %s", e.what());
210 return 0;
211 }
212}
213
214std::string Port::getDeviceName(int deviceId) {
215 if (!driver)

Callers 1

appendAudioDeviceMenuFunction · 0.45

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected