Lines Matching defs:preset
306 // initialize preset number and names, store in IEngine
377 // initialize preset
378 uint16_t preset;
379 if (android::NO_ERROR == android_prev_getPreset(ipr->mPresetReverbEffect, &preset)) {
380 ipr->mPreset = preset;
381 // enable the effect if it has a preset loaded
382 ipr->mPresetReverbEffect->setEnabled(SL_REVERBPRESET_NONE != preset);
388 uint16_t preset) {
390 PRESETREVERB_PARAM_SIZE_MAX, &preset, sizeof(uint16_t));
391 // enable the effect if the preset is different from SL_REVERBPRESET_NONE
392 pFx->setEnabled(SL_REVERBPRESET_NONE != preset);
398 uint16_t* preset) {
399 return android_fx_getParam(pFx, REVERB_PARAM_PRESET, PRESETREVERB_PARAM_SIZE_MAX, preset,
415 // preset reverb state depends on the selected preset.