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

Method getDeviceNumInputs

src/audio.cpp:190–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190int Port::getDeviceNumInputs(int deviceId) {
191 if (!driver)
192 return 0;
193 try {
194 return driver->getDeviceNumInputs(deviceId);
195 }
196 catch (Exception& e) {
197 WARN("Audio port could not get device number of inputs: %s", e.what());
198 return 0;
199 }
200}
201
202int Port::getDeviceNumOutputs(int deviceId) {
203 if (!driver)

Callers 1

appendAudioDeviceMenuFunction · 0.45

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected