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

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowSoundPoolTest.java 9 import android.media.SoundPool;
21 SoundPool soundPool = new SoundPool.Builder().build();
22 assertThat(soundPool).isNotNull();
24 SoundPool.OnLoadCompleteListener listener = mock(SoundPool.OnLoadCompleteListener.class);
25 soundPool.setOnLoadCompleteListener(listener);
31 SoundPool soundPool = new SoundPool(1, AudioManager.STREAM_MUSIC, 0)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
SoundPoolTest.java 26 import android.media.SoundPool;
46 private SoundPool mSoundPool;
95 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality);
144 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality);
187 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, srcQuality);
216 mSoundPool = new SoundPool(SOUNDPOOL_STREAMS, AudioManager.STREAM_MUSIC, 0);
239 // The number of possible SoundPool streams simultaneously active is limited by
243 // SoundPool should gracefully degrade to play those streams it can.
248 SoundPool soundPool = null
    [all...]
  /frameworks/base/media/java/android/media/
SoundPool.java 43 * The SoundPool class manages and plays audio resources for applications.
45 * <p>A SoundPool is a collection of samples that can be loaded into memory
47 * SoundPool library uses the MediaPlayer service to decode the audio
52 * <p>In addition to low-latency playback, SoundPool can also manage the number
53 * of audio streams being rendered at once. When the SoundPool object is
55 * that can be played at a time from this single SoundPool. SoundPool tracks
57 * SoundPool will automatically stop a previously playing stream based first
78 * the SoundPool was created. In this case, the stream allocator will stop
87 * by that level. In this case, the game logic should create a new SoundPool
    [all...]

Completed in 277 milliseconds