Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 25 of 31) sorted by relevance

12

/hardware/qcom/audio/post_proc/
Dreverb.c101 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()
[all …]
Dequalizer.c102 context->preset = PRESET_CUSTOM; in equalizer_set_band_level()
147 ALOGV("%s: preset: %d", __func__, context->preset); in equalizer_get_preset()
148 return context->preset; in equalizer_get_preset()
151 int equalizer_set_preset(equalizer_context_t *context, int preset) in equalizer_set_preset() argument
155 ALOGV("%s: preset: %d", __func__, preset); in equalizer_set_preset()
156 context->preset = preset; in equalizer_set_preset()
159 equalizer_band_presets_level[i + preset * NUM_EQ_BANDS]; in equalizer_set_preset()
161 offload_eq_set_preset(&(context->offload_eq), preset); in equalizer_set_preset()
174 int32_t preset) in equalizer_get_preset_name() argument
176 ALOGV("%s: preset: %s", __func__, equalizer_preset_names[preset]); in equalizer_get_preset_name()
[all …]
Deffect_api.c272 void offload_eq_set_preset(struct eq_params *eq, int preset) in offload_eq_set_preset() argument
275 eq->config.preset_id = preset; in offload_eq_set_preset()
378 void offload_reverb_set_preset(struct reverb_params *reverb, int preset) in offload_reverb_set_preset() argument
381 if (preset && (preset <= NUM_OSL_REVERB_PRESETS_SUPPORTED)) in offload_reverb_set_preset()
382 reverb->preset = map_reverb_opensl_preset_2_offload_preset[preset-1][1]; in offload_reverb_set_preset()
496 *p_param_values++ = reverb->preset; in offload_reverb_send_params()
Deffect_api.h73 void offload_eq_set_preset(struct eq_params *eq, int preset);
113 void offload_reverb_set_preset(struct reverb_params *reverb, int preset);
Dequalizer.h31 int preset; member
Dreverb.h48 bool preset; member
/hardware/interfaces/audio/effect/2.0/
DIDownmixEffect.hal29 * Sets the current downmix preset.
31 setType(Type preset) generates (Result retval);
34 * Gets the current downmix preset.
36 getType() generates (Result retval, Type preset);
DIPresetReverbEffect.hal35 * Sets the current preset.
37 setPreset(Preset preset) generates (Result retval);
40 * Gets the current preset.
42 getPreset() generates (Result retval, Preset preset);
DIEqualizerEffect.hal69 * Sets the current preset using the index of the preset in the names
72 setCurrentPreset(uint16_t preset) generates (Result retval);
75 * Gets the current preset.
77 getCurrentPreset() generates (Result retval, uint16_t preset);
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp103 buffer.omxBuffer.attr.preset.rangeOffset = 0; in allocatePortBuffers()
104 buffer.omxBuffer.attr.preset.rangeLength = 0; in allocatePortBuffers()
321 t.attr.preset.rangeOffset = 0; in dispatchOutputBuffer()
322 t.attr.preset.rangeLength = 0; in dispatchOutputBuffer()
350 t.attr.preset.rangeOffset = 0; in dispatchInputBuffer()
351 t.attr.preset.rangeLength = bytesCount; in dispatchInputBuffer()
/hardware/interfaces/audio/effect/2.0/default/
DDownmixEffect.cpp178 Return<Result> DownmixEffect::setType(IDownmixEffect::Type preset) { in setType() argument
179 return mEffect->setParam(DOWNMIX_PARAM_TYPE, static_cast<downmix_type_t>(preset)); in setType()
DPresetReverbEffect.cpp178 Return<Result> PresetReverbEffect::setPreset(IPresetReverbEffect::Preset preset) { in setPreset() argument
179 return mEffect->setParam(REVERB_PARAM_PRESET, static_cast<t_reverb_presets>(preset)); in setPreset()
DEqualizerEffect.cpp268 Return<Result> EqualizerEffect::setCurrentPreset(uint16_t preset) { in setCurrentPreset() argument
269 return mEffect->setParam(EQ_PARAM_CUR_PRESET, preset); in setCurrentPreset()
DDownmixEffect.h101 Return<Result> setType(IDownmixEffect::Type preset) override;
DPresetReverbEffect.h111 Return<Result> setPreset(IPresetReverbEffect::Preset preset) override;
DEqualizerEffect.h124 Return<Result> setCurrentPreset(uint16_t preset) override;
/hardware/qcom/msm8x84/kernel-headers/sound/
Daudio_effects.h171 uint32_t preset; member
/hardware/qcom/msm8x26/original-kernel-headers/sound/
Daudio_effects.h196 uint32_t preset; member
/hardware/qcom/msm8x26/kernel-headers/sound/
Daudio_effects.h171 uint32_t preset; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Daudio_effects.h196 uint32_t preset; member
/hardware/qcom/msm8994/original-kernel-headers/sound/
Daudio_effects.h211 uint32_t preset; member
/hardware/qcom/msm8994/kernel-headers/sound/
Daudio_effects.h189 uint32_t preset; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Daudio_effects.h197 uint32_t preset; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Daudio_effects.h220 uint32_t preset; member
/hardware/qcom/msm8996/kernel-headers/sound/
Daudio_effects.h197 uint32_t preset; member

12