| 361 | } |
| 362 | |
| 363 | void NeuralPiAudioProcessor::loadIR(File irFile) |
| 364 | { |
| 365 | this->suspendProcessing(true); |
| 366 | |
| 367 | try { |
| 368 | cabSimIR.load(irFile); |
| 369 | ir_loaded = 1; |
| 370 | } |
| 371 | catch (const std::exception& e) { |
| 372 | DBG("Unable to load IR file: " + irFile.getFullPathName()); |
| 373 | std::cout << e.what(); |
| 374 | } |
| 375 | this->suspendProcessing(false); |
| 376 | } |
| 377 | |
| 378 | void NeuralPiAudioProcessor::resetDirectory(const File& file) |
| 379 | { |
no test coverage detected