Lines Matching refs:preset

101     context->preset = false;  in reverb_auxiliary_init()
107 context->preset = true; in reverb_insert_init()
115 context->preset = true; in reverb_preset_init()
244 void reverb_set_preset(reverb_context_t *context, int16_t preset) in reverb_set_preset() argument
247 ALOGV("%s: preset: %d", __func__, preset); in reverb_set_preset()
248 context->next_preset = preset; in reverb_set_preset()
249 offload_reverb_set_preset(&(context->offload_reverb), preset); in reverb_set_preset()
251 enable = (preset == REVERB_PRESET_NONE) ? false: true; in reverb_set_preset()
288 const reverb_settings_t *preset = &reverb_presets[context->cur_preset]; in reverb_load_preset() local
289 reverb_set_room_level(context, preset->roomLevel); in reverb_load_preset()
290 reverb_set_room_hf_level(context, preset->roomHFLevel); in reverb_load_preset()
291 reverb_set_decay_time(context, preset->decayTime); in reverb_load_preset()
292 reverb_set_decay_hf_ratio(context, preset->decayHFRatio); in reverb_load_preset()
293 reverb_set_reverb_level(context, preset->reverbLevel); in reverb_load_preset()
294 reverb_set_diffusion(context, preset->diffusion); in reverb_load_preset()
295 reverb_set_density(context, preset->density); in reverb_load_preset()
314 if (reverb_ctxt->preset) { in reverb_get_parameter()
466 if (reverb_ctxt->preset) { in reverb_set_parameter()
469 uint16_t preset = *(uint16_t *)value; in reverb_set_parameter() local
470 ALOGV("set REVERB_PARAM_PRESET, preset %d", preset); in reverb_set_parameter()
471 if (preset > REVERB_PRESET_LAST) { in reverb_set_parameter()
474 reverb_set_preset(reverb_ctxt, preset); in reverb_set_parameter()
576 if (reverb_ctxt->preset && in reverb_init()
616 if (reverb_ctxt->ctl && reverb_ctxt->preset) { in reverb_start()