Skip to content
 
 

Repository files navigation

just_audio

Audio Player

fork 目的: 在单曲循环下,无法进行上一首/下一首 注释

int? _getRelativeIndex(int offset) {
    if (_audioSource == null || currentIndex == null) return null;
    // 注释此行,单曲循环的判断
    // if (loopMode == LoopMode.one) return currentIndex;
    final effectiveIndices = this.effectiveIndices;
    // 省略...
}

About

Audio Player

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages