I am working on creating a multi-room wireless speaker system based on esp-mdf and esp-adf. The root node receives music stream from http and sends it to local playback on i2s and also broadcasts the same packet to esp-mesh.
I have already integrated everything together. The root node broadcasts packets to other nodes in the mesh. Node packets receives via mesh and streamlines them into a pipeline to i2s.
I am having problems with audio not being played in sync. the root node plays earlier than the immediate child and same goes with each layer. I would like to add a delay in each node speaker separately so I can manage them to be played in sync.
In short my question is how do I pause audio pipeline for some predefined time and resume when needed. Please note I do wanna keep esp mesh audio element running so it can keep receiving audio packets in the background but pauses playback on i2s.
adding a delay in audio pipeline ( pause playback for some predefined time)
Who is online
Users browsing this forum: No registered users and 6 guests