Why am i getting this error when i try to play mp3 / wav sound file using SoundPool android?

前端 未结 0 1049
萌比男神i
萌比男神i 2020-11-28 02:36

I am trying to use android SoundPool to play a button click sound here is my code :

fun play(view: View) {
    val sound = soundPool.load(this,R.raw.bc,1)
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题