阅读背景:

安卓开发中添加音效(soundpool方法)

来源:互联网 

简单三部曲^_^


类中的声明部分需要事先声明好: 记得import哦

SoundPool soundPool= new SoundPool(10, AudioManager.STREAM_SYSTEM, 5); 
    HashMap<Integer, Integer> soundMap = new HashMap<Integer, Integer>();So



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: