Lines Matching refs:preset
82 * Current preset. Parameter ID for OnParameterChangeListener
90 * Request preset name. Parameter ID for OnParameterChangeListener
96 * Maximum size for preset name
169 Log.e(TAG, "preset name decode error");
318 * Gets current preset.
319 * @return the preset that is set at the moment.
332 * Sets the equalizer according to the given preset.
333 * @param preset new preset that will be taken into use. The valid range is [0,
340 public void usePreset(short preset)
342 checkStatus(setParameter(PARAM_CURRENT_PRESET, preset));
361 * Gets the preset name based on the index.
362 * @param preset index of the preset. The valid range is [0, number of presets-1].
363 * @return a string containing the name of the given preset.
368 public String getPresetName(short preset)
370 if (preset >= 0 && preset < mNumPresets) {
371 return mPresetNames[preset];