Lines Matching refs:band

85 int equalizer_get_band_level(equalizer_context_t *context, int32_t band)  in equalizer_get_band_level()  argument
87 ALOGV("%s: band: %d level: %d", __func__, band, in equalizer_get_band_level()
88 context->band_levels[band] * 100); in equalizer_get_band_level()
89 return context->band_levels[band] * 100; in equalizer_get_band_level()
92 int equalizer_set_band_level(equalizer_context_t *context, int32_t band, in equalizer_set_band_level() argument
95 ALOGV("%s: band: %d, level: %d", __func__, band, level); in equalizer_set_band_level()
101 context->band_levels[band] = level; in equalizer_set_band_level()
116 int equalizer_get_center_frequency(equalizer_context_t *context __unused, int32_t band) in equalizer_get_center_frequency() argument
118 ALOGV("%s: band: %d", __func__, band); in equalizer_get_center_frequency()
119 return (equalizer_band_freq_range[band][0] + in equalizer_get_center_frequency()
120 equalizer_band_freq_range[band][1]) / 2; in equalizer_get_center_frequency()
123 int equalizer_get_band_freq_range(equalizer_context_t *context __unused, int32_t band, in equalizer_get_band_freq_range() argument
126 ALOGV("%s: band: %d", __func__, band); in equalizer_get_band_freq_range()
127 *low = equalizer_band_freq_range[band][0]; in equalizer_get_band_freq_range()
128 *high = equalizer_band_freq_range[band][1]; in equalizer_get_band_freq_range()
378 int32_t band; in equalizer_set_parameter() local
407 band = *param_tmp; in equalizer_set_parameter()
409 if (band < 0 || band >= NUM_EQ_BANDS) { in equalizer_set_parameter()
411 if (band < 0) { in equalizer_set_parameter()
413 ALOGW("\tERROR EQ_PARAM_BAND_LEVEL band %d", band); in equalizer_set_parameter()
417 equalizer_set_band_level(eq_ctxt, band, level); in equalizer_set_parameter()