Skip to content

Detecting when playback has finished to play specified tracks one after another #73

Answered by Makuna
ashleycox asked this question in Q&A
Discussion options

You must be logged in to vote

In your notification class (examples use the name Mp3Notify), the method OnPlayFinished(DfMp3& mp3, DfMp3_PlaySources source, uint16_t track) will be called when any track finishes playing. Just implement code that uses the passed track to figure out what the next track should be and call play with it.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Makuna
Comment options

@terrypin999
Comment options

@jeremiawuzza
Comment options

@Makuna
Comment options

@Makuna
Comment options

Answer selected by Makuna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants