π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Again, appease MSVC.
Peter Sobot8b696bb8b0a8
diff --git a/pedalboard/plugins/MP3Compressor.h b/pedalboard/plugins/MP3Compressor.hindex 310e297..fff0ab8 100644--- a/pedalboard/plugins/MP3Compressor.h+++ b/pedalboard/plugins/MP3Compressor.h@@ -99,7 +99,7 @@ public:* Returns the number of samples copied.*/int copyToRightSideOf(juce::dsp::AudioBlock<float> outputBlock) {- int samplesToOutput = std::min(outputBlock.getNumSamples(), lastSample);+ int samplesToOutput = std::min((unsigned long) outputBlock.getNumSamples(), lastSample);if (samplesToOutput) {int offsetInOutputBuffer = 0;