newdigate / teensy-variable-playback

Firmware library: variable playback rate for teensy audio library
MIT License
54 stars 7 forks source link

AudioPlaySdResmp crashes when two start at the same time #35

Open atoktoto opened 3 years ago

atoktoto commented 3 years ago

Calling two playWav(filename); in quick succession causes Teensy to crash. I know thats not a lot of information but I'm not sure how to debug this. The audio pipeline stops (no other sounds are playing) but the Teensy is not auto-restarted by the watchdog.

atoktoto commented 3 years ago

It works ok if I add AudioNoInterrupts(); before and AudioInterrupts(); after.