Lines Matching refs:preset
186 const char * AudioEqualizer::getPresetName(int preset) const {
187 assert(preset < mNumPresets && preset >= PRESET_CUSTOM);
188 if (preset == PRESET_CUSTOM) {
191 return mpPresets[preset].name;
203 void AudioEqualizer::setPreset(int preset) {
204 ALOGV("AudioEqualizer::setPreset(preset=%d)", preset);
205 assert(preset < mNumPresets && preset >= 0);
206 const PresetConfig &presetCfg = mpPresets[preset];
213 mCurPreset = preset;