HomeSort by relevance Sort by last modified time
    Searched refs:mSoundPool (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
SoundPoolTest.java 46 private SoundPool mSoundPool;
91 if (mSoundPool != null) {
92 mSoundPool.release();
93 mSoundPool = null;
99 mSoundPool = new SoundPool.Builder().setMaxStreams(SOUNDPOOL_STREAMS)
101 int sampleId1 = mSoundPool.load(mContext, getSoundA(), PRIORITY);
104 mSoundPool.unload(sampleId1);
108 sampleId2 = mSoundPool.load(afd, PRIORITY);
110 mSoundPool.unload(sampleId2);
116 sampleId3 = mSoundPool.load(fd, offset, length, PRIORITY)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
SoundSystem.java 35 private SoundPool mSoundPool;
43 mSoundPool = new SoundPool(MAX_STREAMS, AudioManager.STREAM_MUSIC, 0);
54 mSoundPool.release();
71 result.soundId = mSoundPool.load(context, resource, 1);
85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f);
97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate);
107 mSoundPool.stop(stream);
112 mSoundPool.pause(stream);
116 mSoundPool.resume(stream);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
RVCVRecordActivity.java 66 private SoundPool mSoundPool;
268 mSoundPool = new SoundPool(1 /*maxStreams*/, AudioManager.STREAM_MUSIC, 0);
272 mSoundMap.put("start", mSoundPool.load(this, R.raw.start_axis, 1));
273 mSoundMap.put("end", mSoundPool.load(this, R.raw.next_axis, 1));
274 mSoundMap.put("half-way", mSoundPool.load(this, R.raw.half_way, 1));
277 mSoundPool.release();
287 mSoundPool.play(id.intValue(), 0.75f/*left vol*/, 0.75f/*right vol*/, 0 /*priority*/,
    [all...]

Completed in 179 milliseconds