Lines Matching refs:param
256 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
262 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
267 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
269 …LOGV("setParameter: param: %d, param2: %d", *(int *)param->data, (param->psize == 8) ? *((int *)pa… in setParameter()
271 …fect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, ¶m->status); in setParameter()
274 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
280 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
286 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
294 memcpy(p, param, sizeof(effect_param_t) + psize); in setParameterDeferred()
314 status_t AudioEffect::getParameter(effect_param_t *param) in getParameter() argument
320 if (param == NULL || param->psize == 0 || param->vsize == 0) { in getParameter()
324 …LOGV("getParameter: param: %d, param2: %d", *(int *)param->data, (param->psize == 8) ? *((int *)pa… in getParameter()
326 …uint32_t psize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + p… in getParameter()
328 …Effect->command(EFFECT_CMD_GET_PARAM, sizeof(effect_param_t) + param->psize, param, &psize, param); in getParameter()