Code example for SoundPool

Methods: setVolume

0
	    } 
	    return 0; 
	} 
	public void setVolume(int stream, float leftVolume, float rightVolume)
	{ 
		_sounds.setVolume(stream, leftVolume, rightVolume);
	} 
	public void release() 
	{ 
		_sounds.release();
		_sounds = null;
		_mediaPlayer.stop();
		_mediaPlayer.release();
		_mediaPlayer = null;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE