MCPcopy Create free account
hub / github.com/csound/csound / GetChannelMetaData

Method GetChannelMetaData

interfaces/cs_glue.cpp:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145int CsoundChannelList::GetChannelMetaData(int ndx,
146 controlChannelHints_t *hints)
147{
148 const char *name;
149 if (!lst || (unsigned int) ndx >= (unsigned int) cnt)
150 return -1;
151 name = lst[ndx].name;
152 int ret = csoundGetControlChannelHints(csound, name, hints);
153 return ret;
154}
155
156/**
157 * Returns the number of channels (-1 if there is no list).

Callers 4

SubTypeMethod · 0.95
DefaultValueMethod · 0.95
MinValueMethod · 0.95
MaxValueMethod · 0.95

Calls 1

Tested by

no test coverage detected