| 161 | * Init */ |
| 162 | |
| 163 | void Plugin::initAudioPort(bool input, uint32_t index, AudioPort& port) |
| 164 | { |
| 165 | if (port.hints & kAudioPortIsCV) |
| 166 | { |
| 167 | port.name = input ? "CV Input " : "CV Output "; |
| 168 | port.name += String(index+1); |
| 169 | port.symbol = input ? "cv_in_" : "cv_out_"; |
| 170 | port.symbol += String(index+1); |
| 171 | } |
| 172 | else |
| 173 | { |
| 174 | port.name = input ? "Audio Input " : "Audio Output "; |
| 175 | port.name += String(index+1); |
| 176 | port.symbol = input ? "audio_in_" : "audio_out_"; |
| 177 | port.symbol += String(index+1); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | void Plugin::initParameter(uint32_t, Parameter&) {} |
| 182 |
no test coverage detected