Home | History | Annotate | Download | only in alsa_sound

Lines Matching full:maxvol

273     long maxVol = info->max;
276 long vol = minVol + volume * (maxVol - minVol);
277 if (vol > maxVol) vol = maxVol;
292 long maxVol = info->max;
295 long vol = minVol + gain * (maxVol - minVol);
296 if (vol > maxVol) vol = maxVol;
314 long maxVol = info->max;
317 long vol = minVol + left * (maxVol - minVol);
318 if (vol > maxVol) vol = maxVol;
337 long maxVol = info->max;
340 long vol = minVol + gain * (maxVol - minVol);
341 if (vol > maxVol) vol = maxVol;