Playing audio files one after another

后端 未结 7 1330
情书的邮戳
情书的邮戳 2020-12-10 06:05

I have a list of audio files like this,

int music_numbers[] = { R.raw.one, R.raw.two, R.raw.three, R.raw.four,
            R.raw.five, R.raw.six, R.raw.seve         


        
7条回答
  •  心在旅途
    2020-12-10 06:52

    For me the issue was that I was calling mediaPlayer.prepare() without first calling mediaPlayer.reset().

    All good now.

提交回复
热议问题