Soundpool plays only first 5 secs of file. Why?

前端 未结 5 1597
独厮守ぢ
独厮守ぢ 2020-12-05 14:04

I use Soundpool in my app, so far it works good, but I do have a wav file which is 10 secs. Unfortunately, soundpool plays only the first 5 secs. How to make soundpool to pl

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-05 14:52

    We have solved similar problem by decreasing in our *.ogg effects sample rate. Our initial sample rate was 44 kHz ~ and only 10 sec of sound played, decreasing to 16 kHz increase playability to 30 seconds

    Solution was found in this discussion

提交回复
热议问题