Lines Matching defs:vol
276 long vol = minVol + volume * (maxVol - minVol);
277 if (vol > maxVol) vol = maxVol;
278 if (vol < minVol) vol = minVol;
280 info->volume = vol;
281 snd_mixer_selem_set_playback_volume_all (info->elem, vol);
295 long vol = minVol + gain * (maxVol - minVol);
296 if (vol > maxVol) vol = maxVol;
297 if (vol < minVol) vol = minVol;
299 info->volume = vol;
300 snd_mixer_selem_set_capture_volume_all (info->elem, vol);
317 long vol = minVol + left * (maxVol - minVol);
318 if (vol > maxVol) vol = maxVol;
319 if (vol < minVol) vol = minVol;
321 info->volume = vol;
322 snd_mixer_selem_set_playback_volume_all (info->elem, vol);
340 long vol = minVol + gain * (maxVol - minVol);
341 if (vol > maxVol) vol = maxVol;
342 if (vol < minVol) vol = minVol;
344 info->volume = vol;
345 snd_mixer_selem_set_capture_volume_all (info->elem, vol);