Skip to content

WDT triggered after pause on AudioPlayer (ESP32, dual core, SD source) #2004

Discussion options

You must be logged in to vote

I think the easiest easyest implementation would be

void AudioPlayerLoopTask(void *parameter)
{
    while (true)
    {
        audioManager.audioPlayer.copy();
    }
}

This copies the data if it is active or just calls some small delay() if there is nothing to copy, to prevent exactly this issue!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AlphaGaming7780
Comment options

@AlphaGaming7780
Comment options

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