MCPcopy Create free account
hub / github.com/GuitarML/NeuralPi / resetDirectoryIR

Method resetDirectoryIR

Source/PluginProcessor.cpp:390–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void NeuralPiAudioProcessor::resetDirectoryIR(const File& file)
391{
392 irFiles.clear();
393 if (file.isDirectory())
394 {
395 juce::Array<juce::File> results;
396 file.findChildFiles(results, juce::File::findFiles, false, "*.wav");
397 for (int i = results.size(); --i >= 0;)
398 irFiles.push_back(File(results.getReference(i).getFullPathName()));
399 }
400}
401
402void NeuralPiAudioProcessor::addDirectory(const File& file)
403{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected