Home | History | Annotate | Download | only in replicaisland

Lines Matching refs:Sound

36     private FixedSizeArray<Sound> mSounds;
37 private Sound mSearchDummy;
44 mSounds = new FixedSizeArray<Sound>(MAX_SOUNDS, sSoundComparator);
45 mSearchDummy = new Sound();
62 public Sound load(int resource) {
64 Sound result = null;
66 // new sound.
69 result = new Sound();
82 synchronized public final int play(Sound sound, boolean loop, int priority) {
85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f);
94 synchronized public final int play(Sound sound, boolean loop, int priority, float volume, float rate) {
97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate);
128 // HACK: There's no way to pause an entire sound pool, but if we
175 public class Sound extends AllocationGuard {
181 private final static class SoundComparator implements Comparator<Sound> {
182 public int compare(final Sound object1, final Sound object2) {