Searched refs:backup_gain (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 1089 int start_gain, end_gain, step, backup_gain, i; in ramp_speaker_gain() local 1110 backup_gain = end_gain; in ramp_speaker_gain() 1117 backup_gain = start_gain; in ramp_speaker_gain() 1137 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain() 1138 ALOGE("%s: error restoring left gain to %d", __func__, backup_gain); in ramp_speaker_gain() 1140 if (mixer_ctl_set_value(ctl_right, 0, backup_gain)) { in ramp_speaker_gain() 1141 ALOGE("%s: error restoring right gain to %d", __func__, backup_gain); in ramp_speaker_gain()
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 2625 int start_gain, end_gain, step, backup_gain, i; local 2646 backup_gain = end_gain; 2653 backup_gain = start_gain; 2673 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { 2674 ALOGE("%s: error restoring left gain to %d", __func__, backup_gain); 2676 if (mixer_ctl_set_value(ctl_right, 0, backup_gain)) { 2677 ALOGE("%s: error restoring right gain to %d", __func__, backup_gain);
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 3900 int start_gain, end_gain, step, backup_gain, i; in ramp_speaker_gain() local 3921 backup_gain = end_gain; in ramp_speaker_gain() 3928 backup_gain = start_gain; in ramp_speaker_gain() 3948 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain() 3949 ALOGE("%s: error restoring left gain to %d", __func__, backup_gain); in ramp_speaker_gain() 3951 if (mixer_ctl_set_value(ctl_right, 0, backup_gain)) { in ramp_speaker_gain() 3952 ALOGE("%s: error restoring right gain to %d", __func__, backup_gain); in ramp_speaker_gain()
|