Home
last modified time | relevance | path

Searched refs:gain_dep_cal_level (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/audio/post_proc/
Dvolume_listener.c250 int gain_dep_cal_level = -1; in check_and_set_gain_dep_cal() local
253 gain_dep_cal_level = volume_curve_gain_mapping_table[MAX_GAIN_LEVELS - 1].level; in check_and_set_gain_dep_cal()
255 gain_dep_cal_level = volume_curve_gain_mapping_table[0].level; in check_and_set_gain_dep_cal()
260 gain_dep_cal_level = volume_curve_gain_mapping_table[max_level].level; in check_and_set_gain_dep_cal()
262 __func__, current_vol, gain_dep_cal_level); in check_and_set_gain_dep_cal()
269 if (gain_dep_cal_level != -1) { in check_and_set_gain_dep_cal()
270 if (gain_dep_cal_level != current_gain_dep_cal_level) { in check_and_set_gain_dep_cal()
272 if (!send_gain_dep_cal(gain_dep_cal_level)) { in check_and_set_gain_dep_cal()
279 gain_dep_cal_level); in check_and_set_gain_dep_cal()
283 gain_dep_cal_level); in check_and_set_gain_dep_cal()
[all …]