Lines Matching refs:param2

198     int32_t param2;  in equalizer_get_parameter()  local
267 param2 = *param_tmp; in equalizer_get_parameter()
268 if (param2 < 0 || param2 >= NUM_EQ_BANDS) { in equalizer_get_parameter()
270 if (param2 < 0) { in equalizer_get_parameter()
272 ALOGW("\tERROR EQ_PARAM_BAND_LEVEL band %d", param2); in equalizer_get_parameter()
276 *(int16_t *)value = (int16_t)equalizer_get_band_level(eq_ctxt, param2); in equalizer_get_parameter()
281 param2 = *param_tmp; in equalizer_get_parameter()
282 if (param2 < 0 || param2 >= NUM_EQ_BANDS) { in equalizer_get_parameter()
284 if (param2 < 0) { in equalizer_get_parameter()
286 ALOGW("\tERROR EQ_PARAM_CENTER_FREQ band %d", param2); in equalizer_get_parameter()
290 *(int32_t *)value = equalizer_get_center_frequency(eq_ctxt, param2); in equalizer_get_parameter()
295 param2 = *param_tmp; in equalizer_get_parameter()
296 if (param2 < 0 || param2 >= NUM_EQ_BANDS) { in equalizer_get_parameter()
298 if (param2 < 0) { in equalizer_get_parameter()
300 ALOGW("\tERROR EQ_PARAM_BAND_FREQ_RANGE band %d", param2); in equalizer_get_parameter()
304 equalizer_get_band_freq_range(eq_ctxt, param2, (uint32_t *)value, in equalizer_get_parameter()
310 param2 = *param_tmp; in equalizer_get_parameter()
311 *(uint16_t *)value = (uint16_t)equalizer_get_band(eq_ctxt, param2); in equalizer_get_parameter()
326 param2 = *param_tmp; in equalizer_get_parameter()
327 ALOGV("param2: %d", param2); in equalizer_get_parameter()
328 if ((param2 < 0 && param2 != PRESET_CUSTOM) || in equalizer_get_parameter()
329 param2 >= equalizer_get_num_presets(eq_ctxt)) { in equalizer_get_parameter()
331 if (param2 < 0) { in equalizer_get_parameter()
333 ALOGW("\tERROR EQ_PARAM_GET_PRESET_NAME preset %d", param2); in equalizer_get_parameter()
345 strlcpy(name, equalizer_get_preset_name(eq_ctxt, param2), p->vsize - 1); in equalizer_get_parameter()