Avoid unnecessarily taking the GIL when using ResampledReadableAudioFile. (#293)
* Add special case to release the GIL when reading from a BytesIO object. * Fix tests. * Disable flakey test on underpowered machines. * Decrease test flakiness. * Disable flaky test on CI. * Skip on CI properly. * Ensure that we can't read past the end of a BytesIO buffer. * Use one of virtual or override. * Apply suggestions from code review Co-authored-by: David Rubinstein <drubinstein@users.noreply.github.com> * Simplify read math for PythonMemoryViewInputStream. * Fix type annotations in docs. * Avoid unnecessarily taking the GIL when using ResampledReadableAudioFile. * Apply suggestions from code review Co-authored-by: David Rubinstein <drubinstein@users.noreply.github.com> * Clang-format. --------- Co-authored-by: David Rubinstein <drubinstein@users.noreply.github.com>
P
Peter Sobot committed
f72cb87bd81e2501823bbf6836ed66654012dab0
Parent: cd686d5
Committed by GitHub <noreply@github.com>
on 2/27/2024, 10:25:30 PM