loop static method
Plays, and keeps looping the given file
.
Implementation
static Future<AudioPlayer> loop(String file, {double volume = 1.0}) {
return _preparePlayer(
file,
volume,
ReleaseMode.loop,
PlayerMode.lowLatency,
);
}