for A2DP Source, how to "override" the current audio playing by using a new audio?
Posted: Sat Feb 09, 2019 11:17 am
suppose A2DP source is playing one audio, i.e. A2DP is now in started state.
Now I want to stop the current playing and play another audio immediately. Should I first stop A2DP current playing, move it to idle state, then do the whole start procedure again. Or I can directly send ESP_A2D_MEDIA_CTRL_START command(while still in started state) to "override" the previous playing?
Which one is the normal method used?
Thanks for replying.
Now I want to stop the current playing and play another audio immediately. Should I first stop A2DP current playing, move it to idle state, then do the whole start procedure again. Or I can directly send ESP_A2D_MEDIA_CTRL_START command(while still in started state) to "override" the previous playing?
Which one is the normal method used?
Thanks for replying.