Returns the number of channels. If the port is disconnected, it has 0 channels. */
| 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. |
no outgoing calls
no test coverage detected