π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Apply clang-format.
Peter Sobot2ef36f7cbb43
diff --git a/pedalboard/ExternalPlugin.h b/pedalboard/ExternalPlugin.hindex cd6af3b..06eebbe 100644--- a/pedalboard/ExternalPlugin.h+++ b/pedalboard/ExternalPlugin.h@@ -222,7 +222,7 @@ public:pluginInstance->setStateInformation(savedState.getData(),savedState.getSize());-+const juce::dsp::ProcessSpec _lastSpec = lastSpec;// Invalidate lastSpec to force us to update the plugin state:diff --git a/pedalboard/process.h b/pedalboard/process.hindex 8cc5472..fb1f3a2 100644--- a/pedalboard/process.h+++ b/pedalboard/process.h@@ -50,9 +50,11 @@ process(const py::array_t<SampleType, py::array::c_style> inputArray,template <typename SampleType>py::array_t<float>processSingle(const py::array_t<SampleType, py::array::c_style> inputArray,- double sampleRate, Plugin &plugin, unsigned int bufferSize, bool reset) {+ double sampleRate, Plugin &plugin, unsigned int bufferSize,+ bool reset) {std::vector<Plugin *> plugins{&plugin};- return process<SampleType>(inputArray, sampleRate, plugins, bufferSize, reset);+ return process<SampleType>(inputArray, sampleRate, plugins, bufferSize,+ reset);}/**