I'm developing a game, when I wanna load some of sounds, I got this error ” soundpool unable to load sample (null) " (I see it in logcat and It doesn't throw any exceptions).
I googled it but can't find anything.
Any suggestion?thanks for your attention.
This is my code:
SoundPool soundPool = new SoundPool(10, AudioManager.STREAM_MUSIC, 0);
ObjSound = soundPool.load(context, R.raw.objs, 1);