October 2018
Intermediate to advanced
464 pages
15h 17m
English
When you need sound effects in your application, SoundPool is usually a good starting point.
SoundPool is interesting in that it allows us to create special effects with our sounds by changing the play rate and by allowing multiple sounds to play simultaneously.
Popular audio file types supported include:
See the Supported Media Formats link for a complete list, including network protocols.
As is common in Android, new releases to the OS bring changes to the APIs. SoundPool is no exception and the original SoundPool constructor was deprecated in Lollipop (API 21). Rather than setting our minimum ...