Lines Matching refs:param
56 uint32_t eq_paramSize(int32_t param) { in eq_paramSize() argument
59 switch (param) { in eq_paramSize()
75 SL_LOGE("Trying to use an unknown EQ parameter %d", param); in eq_paramSize()
82 uint32_t eq_valueSize(int32_t param) { in eq_valueSize() argument
85 switch (param) { in eq_valueSize()
107 SL_LOGE("Trying to access an unknown EQ parameter %d", param); in eq_valueSize()
118 uint32_t bb_valueSize(int32_t param) { in bb_valueSize() argument
121 switch (param) { in bb_valueSize()
130 SL_LOGE("Trying to access an unknown BassBoost parameter %d", param); in bb_valueSize()
142 uint32_t virt_valueSize(int32_t param) { in virt_valueSize() argument
145 switch (param) { in virt_valueSize()
154 SL_LOGE("Trying to access an unknown Virtualizer parameter %d", param); in virt_valueSize()
166 uint32_t erev_valueSize(int32_t param) { in erev_valueSize() argument
169 switch (param) { in erev_valueSize()
191 SL_LOGE("Trying to access an unknown Environmental Reverb parameter %d", param); in erev_valueSize()
200 int32_t param, int32_t param2, void *pValue) in android_eq_getParam() argument
206 p->psize = eq_paramSize(param); in android_eq_getParam()
207 *(int32_t *)p->data = param; in android_eq_getParam()
211 p->vsize = eq_valueSize(param); in android_eq_getParam()
226 int32_t param, int32_t param2, void *pValue) in android_eq_setParam() argument
232 p->psize = eq_paramSize(param); in android_eq_setParam()
233 *(int32_t *)p->data = param; in android_eq_setParam()
237 p->vsize = eq_valueSize(param); in android_eq_setParam()
249 int32_t param, void *pValue) { in android_bb_setParam() argument
251 return android_fx_setParam(pFx, param, BASSBOOST_PARAM_SIZE_MAX, in android_bb_setParam()
252 pValue, bb_valueSize(param)); in android_bb_setParam()
257 int32_t param, void *pValue) { in android_bb_getParam() argument
259 return android_fx_getParam(pFx, param, BASSBOOST_PARAM_SIZE_MAX, in android_bb_getParam()
260 pValue, bb_valueSize(param)); in android_bb_getParam()
352 int32_t param, void *pValue) { in android_virt_setParam() argument
354 return android_fx_setParam(pFx, param, VIRTUALIZER_PARAM_SIZE_MAX, in android_virt_setParam()
355 pValue, virt_valueSize(param)); in android_virt_setParam()
360 int32_t param, void *pValue) { in android_virt_getParam() argument
362 return android_fx_getParam(pFx, param, VIRTUALIZER_PARAM_SIZE_MAX, in android_virt_getParam()
363 pValue, virt_valueSize(param)); in android_virt_getParam()
428 int32_t param, void *pValue) { in android_erev_setParam() argument
432 if (param == REVERB_PARAM_PROPERTIES) { in android_erev_setParam()
433 return android_fx_setParam(pFx, param, ENVREVERB_PARAM_SIZE_MAX_ALL, in android_erev_setParam()
434 pValue, erev_valueSize(param)); in android_erev_setParam()
436 return android_fx_setParam(pFx, param, ENVREVERB_PARAM_SIZE_MAX_SINGLE, in android_erev_setParam()
437 pValue, erev_valueSize(param)); in android_erev_setParam()
443 int32_t param, void *pValue) { in android_erev_getParam() argument
447 if (param == REVERB_PARAM_PROPERTIES) { in android_erev_getParam()
448 return android_fx_getParam(pFx, param, ENVREVERB_PARAM_SIZE_MAX_ALL, in android_erev_getParam()
449 pValue, erev_valueSize(param)); in android_erev_getParam()
451 return android_fx_getParam(pFx, param, ENVREVERB_PARAM_SIZE_MAX_SINGLE, in android_erev_getParam()
452 pValue, erev_valueSize(param)); in android_erev_getParam()
610 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize) in android_fx_setParam() argument
618 *(int32_t *)p->data = param; in android_fx_setParam()
631 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize) in android_fx_getParam() argument
638 *(int32_t *)p->data = param; in android_fx_getParam()
914 uint32_t aec_valueSize(int32_t param) { in aec_valueSize() argument
916 switch (param) { in aec_valueSize()
922 SL_LOGE("Trying to access an unknown Acoustic Echo Cancellation parameter %d", param); in aec_valueSize()
930 int32_t param, void *pValue) { in android_aec_setParam() argument
931 return android_fx_setParam(pFx, param, AEC_PARAM_SIZE_MAX, in android_aec_setParam()
932 pValue, aec_valueSize(param)); in android_aec_setParam()
936 int32_t param, void *pValue) { in android_aec_getParam() argument
937 return android_fx_getParam(pFx, param, AEC_PARAM_SIZE_MAX, in android_aec_getParam()
938 pValue, aec_valueSize(param)); in android_aec_getParam()
946 uint32_t agc_valueSize(int32_t param) { in agc_valueSize() argument
948 switch (param) { in agc_valueSize()
958 SL_LOGE("Trying to access an unknown Automatic Gain Control parameter %d", param); in agc_valueSize()
966 int32_t param, void *pValue) { in android_agc_setParam() argument
967 return android_fx_setParam(pFx, param, AGC_PARAM_SIZE_MAX, in android_agc_setParam()
968 pValue, agc_valueSize(param)); in android_agc_setParam()
972 int32_t param, void *pValue) { in android_agc_getParam() argument
973 return android_fx_getParam(pFx, param, AGC_PARAM_SIZE_MAX, in android_agc_getParam()
974 pValue, agc_valueSize(param)); in android_agc_getParam()
982 uint32_t ns_valueSize(int32_t param) { in ns_valueSize() argument
984 switch (param) { in ns_valueSize()
990 SL_LOGE("Trying to access an unknown Noise suppression parameter %d", param); in ns_valueSize()
998 int32_t param, void *pValue) in android_ns_setParam() argument
1000 return android_fx_setParam(pFx, param, NS_PARAM_SIZE_MAX, in android_ns_setParam()
1001 pValue, ns_valueSize(param)); in android_ns_setParam()
1005 int32_t param, void *pValue) in android_ns_getParam() argument
1007 return android_fx_getParam(pFx, param, NS_PARAM_SIZE_MAX, in android_ns_getParam()
1008 pValue, ns_valueSize(param)); in android_ns_getParam()