loop from flash
Posted: Thu Apr 02, 2020 2:44 pm
I am trying to seamlessly loop a tone from flash.
I started from play_tone_mp3_example but I cannot get the tone to loop.
I made my own version of tone_stream.c and tried to reset the byte postition in the read function. But whatever I do, the stream stops after all bytes have been played. How can I start the stream from the beginning when it reaches the end?
Any hints or examples are highly appreciated
I started from play_tone_mp3_example but I cannot get the tone to loop.
I made my own version of tone_stream.c and tried to reset the byte postition in the read function. But whatever I do, the stream stops after all bytes have been played. How can I start the stream from the beginning when it reaches the end?
Any hints or examples are highly appreciated