| 290 | } |
| 291 | |
| 292 | void ModularSynth::InitIOBuffers(int inputChannelCount, int outputChannelCount) |
| 293 | { |
| 294 | for (int i = 0; i < inputChannelCount; ++i) |
| 295 | mInputBuffers.push_back(new float[gBufferSize]); |
| 296 | for (int i = 0; i < outputChannelCount; ++i) |
| 297 | mOutputBuffers.push_back(new float[gBufferSize]); |
| 298 | } |
| 299 | |
| 300 | |
| 301 | std::string ModularSynth::GetUserPrefsPath() |