π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Use long long instead of int.
Peter Sobotfd53957d2d50
diff --git a/pedalboard/io/StreamResampler.h b/pedalboard/io/StreamResampler.hindex 2f2eb72..ea6cc7f 100644--- a/pedalboard/io/StreamResampler.h+++ b/pedalboard/io/StreamResampler.h@@ -188,9 +188,9 @@ public:* Note that this method will only affect the sub-sample position stored by* the resampler, but will not clear all of the samples buffered internally.*/- long long advanceResamplerState(int numOutputSamples) {+ long long advanceResamplerState(long long numOutputSamples) {double newSubSamplePos = 1.0;- int numOutputSamplesToProduce = numOutputSamples;+ long long numOutputSamplesToProduce = numOutputSamples;long long numInputSamplesUsed = 0;