Home
last modified time | relevance | path

Searched refs:maxVol (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DALSAMixer.cpp273 long maxVol = info->max; in setMasterVolume() local
276 long vol = minVol + volume * (maxVol - minVol); in setMasterVolume()
277 if (vol > maxVol) vol = maxVol; in setMasterVolume()
292 long maxVol = info->max; in setMasterGain() local
295 long vol = minVol + gain * (maxVol - minVol); in setMasterGain()
296 if (vol > maxVol) vol = maxVol; in setMasterGain()
314 long maxVol = info->max; in setVolume() local
317 long vol = minVol + left * (maxVol - minVol); in setVolume()
318 if (vol > maxVol) vol = maxVol; in setVolume()
337 long maxVol = info->max; in setGain() local
[all …]