Not able to achieve Gapless audio looping so far on Android

后端 未结 9 1891
走了就别回头了
走了就别回头了 2020-11-28 06:05

I have tried almost every method but I\'ve failed to achieve gapless audio playback between looping a single track with a duration of 10-15 seconds.

Steps I\'ve trie

9条回答
  •  迷失自我
    2020-11-28 06:54

    I have tried everything suggested here and elsewhere and the only thing that worked is ExoPlayer instead of the Music class. You can access your libgdx files with:

    Uri.parse("file:///android_asset/" + path)
    

    You'll also need platform specific code.

提交回复
热议问题