how to reuse sound in init State() every second?
_timer = Timer.periodic(Duration(milliseconds: widget.time), (timer) {
setState(() {
audioPlayer.play(AssetSource('audios/sound1.wav'));
});
is there some mistake in this part
Is there a play function in audioCache?
I use audioplayer ^4.1.0