Chapter     15

Audio Sequencing: Android SoundPool Class

In this chapter, we will take a look at a more specialized audio playback class in Android called: SoundPool. This class is significantly different from the Android MediaPlayer class, enough so that I have decided to put a specific chapter into this book that covers this useful audio class.

This chapter delves deeply into Android SoundPool, as well as defining what makes it different from MediaPlayer, and in what types of situations each of these classes should be utilized for digital audio asset playback.

In a nutshell, what makes SoundPool so special is that it allows the audio equivalent of image compositing (layering and blending). This means, like with image compositing, that audio-related ...

Get Learn Android App Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.