/hardware/qcom/audio/post_proc/ |
D | reverb.c | 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() [all …]
|
D | equalizer.c | 102 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 …]
|
D | effect_api.c | 274 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()
|
/hardware/interfaces/audio/effect/4.0/ |
D | IDownmixEffect.hal | 29 * 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);
|
D | IPresetReverbEffect.hal | 35 * Sets the current preset. 37 setPreset(Preset preset) generates (Result retval); 40 * Gets the current preset. 42 getPreset() generates (Result retval, Preset preset);
|
D | IEqualizerEffect.hal | 69 * 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/ |
D | IDownmixEffect.hal | 29 * 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);
|
D | IPresetReverbEffect.hal | 35 * Sets the current preset. 37 setPreset(Preset preset) generates (Result retval); 40 * Gets the current preset. 42 getPreset() generates (Result retval, Preset preset);
|
D | IEqualizerEffect.hal | 69 * 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/5.0/ |
D | IDownmixEffect.hal | 29 * 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);
|
D | IPresetReverbEffect.hal | 35 * Sets the current preset. 37 setPreset(Preset preset) generates (Result retval); 40 * Gets the current preset. 42 getPreset() generates (Result retval, Preset preset);
|
D | IEqualizerEffect.hal | 69 * 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/7.0/ |
D | IDownmixEffect.hal | 29 * 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);
|
D | IPresetReverbEffect.hal | 35 * Sets the current preset. 37 setPreset(Preset preset) generates (Result retval); 40 * Gets the current preset. 42 getPreset() generates (Result retval, Preset preset);
|
D | IEqualizerEffect.hal | 69 * 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/ |
D | IDownmixEffect.hal | 29 * 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);
|
D | IPresetReverbEffect.hal | 35 * Sets the current preset. 37 setPreset(Preset preset) generates (Result retval); 40 * Gets the current preset. 42 getPreset() generates (Result retval, Preset preset);
|
D | IEqualizerEffect.hal | 69 * 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/aidl/vts/ |
D | VtsHalPresetReverbTargetTest.cpp | 57 PresetReverb pr = PresetReverb::make<PresetReverb::preset>(kDefaultPreset); in getDefaultParamSpecific() 66 PresetReverb::make<PresetReverb::preset>(param))); in createPresetReverbParam() 74 PresetReverb::Id::make<PresetReverb::Id::commonTag>(PresetReverb::preset); in setAndVerifyPreset() 171 void setPresetAndProcess(const PresetReverb::Presets& preset, std::vector<float>& output) { in setPresetAndProcess() argument 172 ASSERT_NO_FATAL_FAILURE(setAndVerifyPreset(preset)); in setPresetAndProcess() 180 for (PresetReverb::Presets preset : presets) { in validateIncreasingEnergy() local 182 setPresetAndProcess(preset, output); in validateIncreasingEnergy() 231 std::string preset = in __anon618d9b680102() local 233 std::string name = getPrefix(descriptor) + "_preset" + preset; in __anon618d9b680102()
|
D | VtsHalEqualizerTargetTest.cpp | 157 case Equalizer::preset: { in isEqParameterExpected() 158 return expectEq.get<Equalizer::preset>() == targetEq.get<Equalizer::preset>(); in isEqParameterExpected() 166 void addPresetParam(int preset) { in addPresetParam() argument 167 mTags.push_back({Equalizer::preset, Equalizer::make<Equalizer::preset>(preset)}); in addPresetParam() 194 Equalizer::preset>(
|
/hardware/interfaces/audio/common/7.0/example/ |
D | EqualizerEffect.cpp | 105 Return<Result> EqualizerEffect::setCurrentPreset(uint16_t preset) { in setCurrentPreset() argument 106 if (preset < kNumPresets) { in setCurrentPreset() 107 mProperties.curPreset = preset; in setCurrentPreset()
|
/hardware/interfaces/audio/aidl/default/equalizer/ |
D | EqualizerSw.cpp | 77 MAKE_RANGE(Equalizer, preset, 0, EqualizerSw::kPresets.size() - 1), 115 case Equalizer::preset: { in setParameterSpecific() 116 RETURN_IF(mContext->setEqPreset(eqParam.get<Equalizer::preset>()) != RetCode::SUCCESS, in setParameterSpecific() 164 case Equalizer::preset: { in getParameterEqualizer() 165 eqParam.set<Equalizer::preset>(mContext->getEqPreset()); in getParameterEqualizer()
|
/hardware/interfaces/audio/aidl/default/presetReverb/ |
D | PresetReverbSw.cpp | 104 case PresetReverb::preset: { in setParameterSpecific() 106 mContext->setPRPreset(prParam.get<PresetReverb::preset>()) != RetCode::SUCCESS, in setParameterSpecific() 139 case PresetReverb::preset: { in getParameterPresetReverb() 140 prParam.set<PresetReverb::preset>(mContext->getPRPreset()); in getParameterPresetReverb()
|
D | PresetReverbSw.h | 34 RetCode setPRPreset(PresetReverb::Presets preset) { in setPRPreset() argument 36 mPreset = preset; in setPRPreset()
|
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/ |
D | PresetReverb.aidl | 100 Presets preset;
|