Hi !
I wanted to have two these modes in my device which can be switched with a push button
Mode 1 where files are played from flash memory spiffs stream(bluetooth is off)
Mode 2 where bluetooth is turned on and a2dp stream is used
I found examples for both, but I would like to know the best route to switch between these.
What confuses me is that do I need to make two pipelines and play one at a time or should the whole pipeline and other components like event listener etc be deleted altogether and initialized a fresh to start a new pipeline?
Is there a standard route to achieve this.
Any help appreciated.
Thanks
Hi ! I wanted to have two these modes in my device which can be switched with a push button