Searched refs:left_change (Results 1 – 1 of 1) sorted by relevance
796 int left_change = 0, right_change = 0; in snd_azf3328_mixer_write_volume_gradually() local807 left_change = (curr_vol_left > dst_vol_left) ? -1 : 1; in snd_azf3328_mixer_write_volume_gradually()817 if (left_change) { in snd_azf3328_mixer_write_volume_gradually()819 curr_vol_left += left_change; in snd_azf3328_mixer_write_volume_gradually()822 left_change = 0; in snd_azf3328_mixer_write_volume_gradually()837 } while ((left_change) || (right_change)); in snd_azf3328_mixer_write_volume_gradually()