我在模拟器上面有声音的,但是真机上就没有
下面是初始化:
soundPool = new SoundPool(4, AudioManager.STREAM_MUSIC, 100);
soundPoolMap = new HashMap<Integer, Integer>();
soundPoolMap.put(1, soundPool.load(getContext(), R.raw.click, 1));然后在点击的时候
soundPool.play(soundPoolMap.get(1), 1, 1, 1, 0, 1f);怎么就没有声音呢