Searched refs:backup_gain (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 1180 int start_gain, end_gain, step, backup_gain, i; in ramp_speaker_gain() local 1201 backup_gain = end_gain; in ramp_speaker_gain() 1208 backup_gain = start_gain; in ramp_speaker_gain() 1228 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain() 1229 ALOGE("%s: error restoring left gain to %d", __func__, backup_gain); in ramp_speaker_gain() 1231 if (mixer_ctl_set_value(ctl_right, 0, backup_gain)) { in ramp_speaker_gain() 1232 ALOGE("%s: error restoring right gain to %d", __func__, backup_gain); in ramp_speaker_gain()
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 2716 int start_gain, end_gain, step, backup_gain, i; local 2737 backup_gain = end_gain; 2744 backup_gain = start_gain; 2764 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { 2765 ALOGE("%s: error restoring left gain to %d", __func__, backup_gain); 2767 if (mixer_ctl_set_value(ctl_right, 0, backup_gain)) { 2768 ALOGE("%s: error restoring right gain to %d", __func__, backup_gain);
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 3996 int start_gain, end_gain, step, backup_gain, i; in ramp_speaker_gain() local 4017 backup_gain = end_gain; in ramp_speaker_gain() 4024 backup_gain = start_gain; in ramp_speaker_gain() 4044 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain() 4045 ALOGE("%s: error restoring left gain to %d", __func__, backup_gain); in ramp_speaker_gain() 4047 if (mixer_ctl_set_value(ctl_right, 0, backup_gain)) { in ramp_speaker_gain() 4048 ALOGE("%s: error restoring right gain to %d", __func__, backup_gain); in ramp_speaker_gain()
|