Sets the GPIO back to original state after recording
Set a reasonable recording level - same as Adafruit's driver
Stops hardware interrupts before proceeding with stopping playback. Otherwise, dreq interrupt occurs and throws a hardfault
Lets audio output fully complete before stopping stream
Move shift buffer into a runtime event to prevent memory corruption
Removes horrible wait loop that the datasheet says is the proper process but usually ends up in an infinite loop
Moved buffer flushing into mandatory stop sequence
Removes SPI initialization out into JS driver under lock protection. Must be used with audio driver update...
Allows more than 127 items to be queued at once
Refactored audio data structures to stop memory copy of audio buffers