PDA

View Full Version : start audio file at any point within the file



trial and error
03-28-2016, 07:21 PM
I would like to be able to play an audio file from a SD card; stop the file and then restart where it left off at a later time. Is there a pointer that can be implemented to start or restart anywhere in the audio file?

PaulStoffregen
03-29-2016, 11:06 AM
This is on the TO-DO list for the audio lib. Here's the closest thing available right now:

https://forum.pjrc.com/threads/32503-Added-position-offset-to-playSDraw

trial and error
03-29-2016, 07:05 PM
This is on the TO-DO list for the audio lib. Here's the closest thing available right now:

https://forum.pjrc.com/threads/32503-Added-position-offset-to-playSDraw

Paul,
Thank you for the reply. As a one on the steep side of the learning curve for C, I'm not quite sure of how to incorporate the playSkip function into code. I will try several approaches and see what happens.
I appreciate your response.
TAE