Lines Matching defs:preset
75 * Current preset. Parameter ID for OnParameterChangeListener
83 * Request preset name. Parameter ID for OnParameterChangeListener
89 * Maximum size for preset name
162 Log.e(TAG, "preset name decode error");
311 * Gets current preset.
312 * @return the preset that is set at the moment.
325 * Sets the equalizer according to the given preset.
326 * @param preset new preset that will be taken into use. The valid range is [0,
333 public void usePreset(short preset)
335 checkStatus(setParameter(PARAM_CURRENT_PRESET, preset));
354 * Gets the preset name based on the index.
355 * @param preset index of the preset. The valid range is [0, number of presets-1].
356 * @return a string containing the name of the given preset.
361 public String getPresetName(short preset)
363 if (preset >= 0 && preset < mNumPresets) {
364 return mPresetNames[preset];