Code example for BassBoost

Methods: setEnabledsetStrength

1
					Log.d("test", "bassBoost off");
				} 
			}else if(level > 20){
				bassLevel = (short) level;
				Log.d("test", "bassLevel = " + bassLevel);
				bass = new BassBoost(0, SessionID);
				bass.setEnabled(true);
				bass.setStrength(bassLevel);
				Log.d("test", "bassBoost on");
			} 
		} 
	} 
 
	public int getBassLevel(){ 
		if(!effect_on || bass == null){
			return 0; 
		} 
		return bass.getRoundedStrength();
	} 
 
Contextual code suggestions in your IDE  Get Codota for Java