MCPcopy Create free account
hub / github.com/DISTRHO/DPF / isOutputNumChannelsValid

Function isOutputNumChannelsValid

distrho/src/DistrhoPluginAU.cpp:241–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241static inline
242bool isOutputNumChannelsValid(const uint16_t numChannels)
243{
244 for (uint16_t i = 0; i < ARRAY_SIZE(kChannelInfo); ++i)
245 {
246 if (kChannelInfo[i].outChannels == numChannels)
247 return true;
248 }
249 return false;
250}
251
252static inline
253bool isNumChannelsComboValid(const uint16_t numInputs, const uint16_t numOutputs)

Callers 1

auSetPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected