jeromexiong / audio_manager

A flutter plugin for music playback, including notification handling.
MIT License
100 stars 53 forks source link

How can i reset AudioManager.instance state? #24

Closed phanbaohuy96 closed 4 years ago

phanbaohuy96 commented 4 years ago

Currently, I use this plugin to play a single audio. I start with a screen suck as player screen then if the user finished this screen the audio with stop too. if I start that screen again and play the same audio with previously but AudioManager not working for this case. another case:

Thanks a lot.

jeromexiong commented 4 years ago

You need to use provider as the global only player