Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 25 of 45) 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.c274 void offload_eq_set_preset(struct eq_params *eq, int preset) in offload_eq_set_preset() argument
277 eq->config.preset_id = preset; in offload_eq_set_preset()
380 void offload_reverb_set_preset(struct reverb_params *reverb, int preset) in offload_reverb_set_preset() argument
383 if (preset && (preset <= NUM_OSL_REVERB_PRESETS_SUPPORTED)) in offload_reverb_set_preset()
384 reverb->preset = map_reverb_opensl_preset_2_offload_preset[preset-1][1]; in offload_reverb_set_preset()
498 *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/5.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/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/audio/effect/6.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/audio/effect/4.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/wifi/1.2/
DIWifiChip.hal40 * List of preset wifi radio TX power levels for different scenarios.
54 * API to select one of the preset TX power scenarios.
/hardware/interfaces/audio/effect/all-versions/default/
DPresetReverbEffect.cpp170 Return<Result> PresetReverbEffect::setPreset(IPresetReverbEffect::Preset preset) { in setPreset() argument
171 return mEffect->setParam(REVERB_PARAM_PRESET, static_cast<t_reverb_presets>(preset)); in setPreset()
DDownmixEffect.cpp169 Return<Result> DownmixEffect::setType(IDownmixEffect::Type preset) { in setType() argument
170 return mEffect->setParam(DOWNMIX_PARAM_TYPE, static_cast<downmix_type_t>(preset)); in setType()
DEqualizerEffect.cpp257 Return<Result> EqualizerEffect::setCurrentPreset(uint16_t preset) { in setCurrentPreset() argument
258 return mEffect->setParam(EQ_PARAM_CUR_PRESET, preset); in setCurrentPreset()
/hardware/interfaces/wifi/1.1/
DIWifiChip.hal47 * List of preset wifi radio TX power levels for different scenarios.
58 * API to select one of the preset TX power scenarios.
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp327 buffer->omxBuffer.attr.preset.rangeOffset = 0; in allocateBuffer()
328 buffer->omxBuffer.attr.preset.rangeLength = 0; in allocateBuffer()
613 t.attr.preset.rangeOffset = 0; in dispatchOutputBuffer()
614 t.attr.preset.rangeLength = 0; in dispatchOutputBuffer()
642 t.attr.preset.rangeOffset = 0; in dispatchInputBuffer()
643 t.attr.preset.rangeLength = bytesCount; in dispatchInputBuffer()
/hardware/qcom/msm8x26/kernel-headers/sound/
Daudio_effects.h171 uint32_t preset; member

12