π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Fix size_t on Windows.
Peter Sobot7b63a3b2cad6
diff --git a/pedalboard/io/PythonInputStream.h b/pedalboard/io/PythonInputStream.hindex 1c9a787..1e75c7e 100644--- a/pedalboard/io/PythonInputStream.h+++ b/pedalboard/io/PythonInputStream.h@@ -127,7 +127,7 @@ public:py::bytes bytesObject = readResult.cast<py::bytes>();char *pythonBuffer = nullptr;- ssize_t pythonLength = 0;+ py::ssize_t pythonLength = 0;if (PYBIND11_BYTES_AS_STRING_AND_SIZE(bytesObject.ptr(), &pythonBuffer,&pythonLength)) {