Fixed mishandling of NULL sample within get_buffer method (used by audiosample api) of the newly added audiofilters.Filter class in 9.2.0. The error would occur when either no sample was loaded (ie: .play(...)) or .stop() was called when feeding into another audiosample object. See https://github.com/adafruit/circuitpython/issues/9778 for more details and examples.
The method now feeds "silence" audio data into the output buffer and prevents an infinite while loop.
Fixed mishandling of NULL sample within
get_buffer
method (used by audiosample api) of the newly addedaudiofilters.Filter
class in 9.2.0. The error would occur when either no sample was loaded (ie:.play(...)
) or.stop()
was called when feeding into another audiosample object. See https://github.com/adafruit/circuitpython/issues/9778 for more details and examples.The method now feeds "silence" audio data into the output buffer and prevents an infinite while loop.