Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Apply clang-format.

Peter Sobot2ef36f7cbb43
diff --git a/pedalboard/ExternalPlugin.h b/pedalboard/ExternalPlugin.h
index 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.h
index 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);
}
/**