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

Function isInputNumChannelsValid

distrho/src/DistrhoPluginAU.cpp:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228#endif
229
230static inline
231bool isInputNumChannelsValid(const uint16_t numChannels)
232{
233 for (uint16_t i = 0; i < ARRAY_SIZE(kChannelInfo); ++i)
234 {
235 if (kChannelInfo[i].inChannels == numChannels)
236 return true;
237 }
238 return false;
239}
240
241static inline
242bool isOutputNumChannelsValid(const uint16_t numChannels)

Callers 1

auSetPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected