Code example for SoundPool

Methods: unload

0
		this.manager = manager;
		this.soundId = soundId;
	} 
 
	@Override public void dispose () { 
		soundPool.unload(soundId);
	} 
 
	@Override public void play () { 
		play(1); 
	} 
 
	@Override public void play (float volume) {
		if (streamIds.size == 8) streamIds.pop();
		streamIds.add(soundPool.play(soundId, volume, volume, 1, 0, 1));
	} 
 
	public void stop () { 
		for (int i = 0, n = streamIds.size; i < n; i++)
			soundPool.stop(streamIds.get(i));
Stop searching for code, let great code find you!  Add Codota to your java IDE