| 143 | } |
| 144 | |
| 145 | int 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). |
no test coverage detected