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;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java