Lines Matching refs:pValue
296 void *pValue) in AgcGetParameter() argument
300 t_agc_settings *pProperties = (t_agc_settings *)pValue; in AgcGetParameter()
332 *(int16_t *) pValue = (int16_t)(agc->target_level_dbfs() * -100); in AgcGetParameter()
333 ALOGV("AgcGetParameter() target level %d milliBels", *(int16_t *) pValue); in AgcGetParameter()
336 *(int16_t *) pValue = (int16_t)(agc->compression_gain_db() * 100); in AgcGetParameter()
337 ALOGV("AgcGetParameter() comp gain %d milliBels", *(int16_t *) pValue); in AgcGetParameter()
340 *(bool *) pValue = (bool)agc->is_limiter_enabled(); in AgcGetParameter()
342 (*(int16_t *) pValue != 0) ? "true" : "false"); in AgcGetParameter()
357 int AgcSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AgcSetParameter() argument
361 t_agc_settings *pProperties = (t_agc_settings *)pValue; in AgcSetParameter()
366 ALOGV("AgcSetParameter() target level %d milliBels", *(int16_t *)pValue); in AgcSetParameter()
367 status = agc->set_target_level_dbfs(-(*(int16_t *)pValue / 100)); in AgcSetParameter()
370 ALOGV("AgcSetParameter() comp gain %d milliBels", *(int16_t *)pValue); in AgcSetParameter()
371 status = agc->set_compression_gain_db(*(int16_t *)pValue / 100); in AgcSetParameter()
374 ALOGV("AgcSetParameter() limiter enabled %s", *(bool *)pValue ? "true" : "false"); in AgcSetParameter()
375 status = agc->enable_limiter(*(bool *)pValue); in AgcSetParameter()
389 ALOGW("AgcSetParameter() unknown param %08x value %08x", param, *(uint32_t *)pValue); in AgcSetParameter()
459 void *pValue) in AecGetParameter() argument
470 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); in AecGetParameter()
471 ALOGV("AecGetParameter() echo delay %d us", *(uint32_t *)pValue); in AecGetParameter()
474 ALOGW("AecGetParameter() unknown param %08x value %08x", param, *(uint32_t *)pValue); in AecGetParameter()
481 int AecSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AecSetParameter() argument
485 uint32_t value = *(uint32_t *)pValue; in AecSetParameter()
494 ALOGW("AecSetParameter() unknown param %08x value %08x", param, *(uint32_t *)pValue); in AecSetParameter()
598 void *pValue __unused) in NsGetParameter()
604 int NsSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in NsSetParameter() argument
609 uint32_t value = *(uint32_t *)pValue; in NsSetParameter()