loopLongAudio static method

Future<AudioPlayer> loopLongAudio(
  1. String file, {
  2. double volume = 1.0,
})

循环播放长音频

Implementation

static Future<AudioPlayer> loopLongAudio(String file, {double volume = 1.0}) {
  return audioCache.loop(file, volume: volume);
}