MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / getChannels

Method getChannels

include/engine/Port.hpp:215–217  ·  view source on GitHub ↗

Returns the number of channels. If the port is disconnected, it has 0 channels. */

Source from the content-addressed store, hash-verified

213 If the port is disconnected, it has 0 channels.
214 */
215 int getChannels() const noexcept {
216 return channels;
217 }
218
219 /** Returns whether a cable is connected to the Port.
220 You can use this for skipping code that generates output voltages.

Callers 2

processMethod · 0.45
processTerminalOutputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected