Code example for Equalizer

Methods: setEnabledgetCurrentPresetgetPresetNameusePreset

0
				EQ.getPresetName(EQ.getCurrentPreset()) + " is " + EQ.getEnabled());
			    if (EQPreset == None) {
			    	EQ.setEnabled(false);
			        if (DEBUG) Log.i("Equalizer","is EQ enable = "+ EQ.getEnabled());
			    } else { 
			    	EQ.usePreset(EQPreset);
			        String PresetName = EQ.getPresetName(EQ.getCurrentPreset());
			        EQ.setEnabled(true);
			        if (DEBUG) Log.i("Equalizer","New Preset name = "+ PresetName + " is " + EQ.getEnabled());
			    } 
			    EQPreserved = EQPreset;
			} 
    	} 
    	 
    	if (intent.getBooleanExtra("Tuner", false)) {
    		isTuner = true;
    	} 
    	 
        String action = intent.getAction();
        // Store the incomming action into the context of the service 
Contextual code suggestions in your IDE  Get Codota for Java