This in the REPL never returns until Ctrl+C is sent:
>>> audio.play(audio.AudioFrame())
But as soon as something else larger is played (like Sound.HAPPY) it does work until the next power cycle.
Might be related to increasing AUDIO_OUTPUT_BUFFER_SIZE to 64, as audio.play(audio.AudioTrack(bytearray(63))) doesn't return either, but audio.play(audio.AudioTrack(bytearray(64))) does.
This in the REPL never returns until Ctrl+C is sent:
But as soon as something else larger is played (like Sound.HAPPY) it does work until the next power cycle.
Might be related to increasing
AUDIO_OUTPUT_BUFFER_SIZEto 64, asaudio.play(audio.AudioTrack(bytearray(63)))doesn't return either, butaudio.play(audio.AudioTrack(bytearray(64)))does.