How to make SoundPool in Android

Full source code how to use the SoundPool class to play short, repetitive sound clips. Since API level 21 (Android Lollipop), the old SoundPool constructor is deprecated, so we will also learn, how to use the new SoundPool.Builder class. We will define a streamType for the old constructor and a usage and contentType for the … Read more