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

Method addDirectory

Source/PluginProcessor.cpp:402–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void NeuralPiAudioProcessor::addDirectory(const File& file)
403{
404 if (file.isDirectory())
405 {
406 juce::Array<juce::File> results;
407 file.findChildFiles(results, juce::File::findFiles, false, "*.json");
408 for (int i = results.size(); --i >= 0;)
409 {
410 jsonFiles.push_back(File(results.getReference(i).getFullPathName()));
411 num_models = num_models + 1.0;
412 }
413 }
414}
415
416void NeuralPiAudioProcessor::addDirectoryIR(const File& file)
417{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected