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

Method getDeviceNumInputs

src/rtaudio.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 int getDeviceNumInputs(int deviceId) override {
73 if (rtAudio) {
74 RtAudio::DeviceInfo deviceInfo = rtAudio->getDeviceInfo(deviceId);
75 if (deviceInfo.ID > 0)
76 return deviceInfo.inputChannels;
77 }
78 return 0;
79 }
80
81 int getDeviceNumOutputs(int deviceId) override {
82 if (rtAudio) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected