Skip to content

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

Update PythonOutputStream.h

Peter Sobota686f17fd175
diff --git a/pedalboard/io/PythonOutputStream.h b/pedalboard/io/PythonOutputStream.h
index 6d81fa8..d3e1c9a 100644
--- a/pedalboard/io/PythonOutputStream.h
+++ b/pedalboard/io/PythonOutputStream.h
@@ -84,7 +84,7 @@ public:
int bytesWritten;
if (writeResponse.is_none()) {
- // Assume bytesWritten is numBytes if `write` returned 0.
+ // Assume bytesWritten is numBytes if `write` returned None.
// This shouldn't happen, but sometimes does if the file-like
// object is not fully compliant with io.RawIOBase.
bytesWritten = numBytes;
@@ -131,7 +131,7 @@ public:
int bytesWritten;
if (writeResponse.is_none()) {
- // Assume bytesWritten is numBytes if `write` returned 0.
+ // Assume bytesWritten is numBytes if `write` returned None.
// This shouldn't happen, but sometimes does if the file-like
// object is not fully compliant with io.RawIOBase.
bytesWritten = chunkSize;
@@ -161,4 +161,4 @@ public:
return true;
}
};
-}; // namespace Pedalboard
\ No newline at end of file
+}; // namespace Pedalboard