for A2DP Source, how to "override" the current audio playing by using a new audio?

adherent
Posts: 19
Joined: Mon Jan 15, 2018 9:24 pm

for A2DP Source, how to "override" the current audio playing by using a new audio?

Postby adherent » 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.

Who is online

Users browsing this forum: Bing [Bot] and 119 guests