Lines Matching full:effect
886 static int in_configure_effect_channels(effect_handle_t effect,
896 ALOGV("in_configure_effect_channels(): configure effect with channels: [%04x][%04x]",
903 fct_status = (*effect)->command(effect,
917 fct_status = (*effect)->command(effect,
931 fct_status = (*effect)->command(effect,
947 effect_handle_t effect,
953 ALOGV("in_reconfigure_channels(): config_changed %d effect %p",
954 config_changed, effect);
966 ALOGV("in_reconfigure_channels(): error %d configuring effect "
975 } else if (effect != NULL && channel_config->aux_channels) {
977 * we still need to configure the effect being added */
978 status = in_configure_effect_channels(effect, channel_config);
984 effect_handle_t effect)
995 effect,
1004 in_reconfigure_channels(in, effect, &channel_config, true);
1082 * does the actual process only when the last enabled effect process is called.
1083 * The generic solution is to have an output buffer for each effect and pass it as
1112 /* The effect does not comply to the API. In theory, we should never end up here! */
1391 * As such a change in aux_channels will not have an effect.
2230 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
2233 (void)effect;
2237 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
2240 (void)effect;
2594 effect_handle_t effect,
2604 status = (*effect)->get_descriptor(effect, &desc);
2608 ALOGI("add_remove_audio_effect(), effect type: %08x, enable: %d ", desc.type.timeLow, enable);
2627 in->preprocessors[in->num_preprocessors].effect_itfe = effect;
2630 in_update_aux_channels(in, effect);//wesley crash
2640 if ( in->preprocessors[i].effect_itfe == effect ) {
2671 effect_handle_t effect)
2673 ALOGV("%s: effect %p", __func__, effect);
2674 return add_remove_audio_effect(stream, effect, true /* enabled */);
2678 effect_handle_t effect)
2680 ALOGV("%s: effect %p", __func__, effect);
2681 return add_remove_audio_effect(stream, effect, false /* disabled */);