Code example for SoundPool

Methods: autoPauserelease

0
 
	private void stopSounds(){ 
		/* 
		audioManager.setStreamVolume(soundId, savedVolume, 0); 
		 */ 
		soundPool.autoPause();
		soundPool.release();
	} 
 
	@Override 
	public void onResume() { 
		super.onResume(); 
		QoSManager.setCurrentActivity(this);
		QoSManager.setPowerMode(); 
		SessionController.getSessionController().updateConnectionImage(); 
	} 
}