Home
last modified time | relevance | path

Searched refs:mSoundPool (Results 1 – 1 of 1) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DSoundSystem.java35 private SoundPool mSoundPool; field in SoundSystem
43 mSoundPool = new SoundPool(MAX_STREAMS, AudioManager.STREAM_MUSIC, 0); in SoundSystem()
54 mSoundPool.release(); in reset()
71 result.soundId = mSoundPool.load(context, resource, 1); in load()
85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f); in play()
97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate); in play()
107 mSoundPool.stop(stream); in stop()
112 mSoundPool.pause(stream); in pause()
116 mSoundPool.resume(stream); in resume()