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

Method getDeviceNumOutputs

src/rtaudio.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 int getDeviceNumOutputs(int deviceId) override {
82 if (rtAudio) {
83 RtAudio::DeviceInfo deviceInfo = rtAudio->getDeviceInfo(deviceId);
84 if (deviceInfo.ID > 0)
85 return deviceInfo.outputChannels;
86 }
87 return 0;
88 }
89
90 audio::Device* subscribe(int deviceId, audio::Port* port) override;
91 void unsubscribe(int deviceId, audio::Port* port) override;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected