Home | History | Annotate | Download | only in hal

Lines Matching full:effect

1318     effect_handle_t effect = effect_info->effect_itfe;
1332 /* if this command is not supported, then the effect is supposed to return -EINVAL.
1333 * This error will be interpreted as if the effect supports the main_channels but does not
1335 cmd_status = (*effect)->command(effect,
1421 static int in_configure_effect_channels(effect_handle_t effect,
1431 ALOGV("in_configure_effect_channels(): configure effect with channels: [%04x][%04x]",
1438 fct_status = (*effect)->command(effect,
1452 fct_status = (*effect)->command(effect,
1463 fct_status = (*effect)->command(effect,
1473 fct_status = (*effect)->command(effect,
1485 effect_handle_t effect,
1491 ALOGV("in_reconfigure_channels(): config_changed %d effect %p",
1492 config_changed, effect);
1505 ALOGV("in_reconfigure_channels(): error %d configuring effect "
1514 } else if (effect != NULL && channel_config->aux_channels) {
1516 * we still need to configure the effect being added */
1517 status = in_configure_effect_channels(effect, channel_config);
1523 effect_handle_t effect)
1534 effect,
1543 in_reconfigure_channels(in, effect, &channel_config, true);
1637 * does the actual process only when the last enabled effect process is called.
1638 * The generic solution is to have an output buffer for each effect and pass it as
1667 /* The effect does not comply to the API. In theory, we should never end up here! */
2041 * As such a change in aux_channels will not have an effect.
3272 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
3275 (void)effect;
3279 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
3282 (void)effect;
3770 effect_handle_t effect,
3780 status = (*effect)->get_descriptor(effect, &desc);
3784 ALOGI("add_remove_audio_effect(), effect type: %08x, enable: %d ", desc.type.timeLow, enable);
3803 in->preprocessors[in->num_preprocessors].effect_itfe = effect;
3804 /* add the supported channel of the effect in the channel_configs */
3808 in_update_aux_channels(in, effect);//wesley crash
3818 if (status == 0) { /* status == 0 means an effect was removed from a previous slot */
3826 if ( in->preprocessors[i].effect_itfe == effect ) {
3835 /* if we remove one effect, at least the last proproc should be reset */
3865 effect_handle_t effect)
3867 ALOGV("%s: effect %p", __func__, effect);
3868 return add_remove_audio_effect(stream, effect, true);
3872 effect_handle_t effect)
3874 ALOGV("%s: effect %p", __func__, effect);
3875 return add_remove_audio_effect(stream, effect, false);