Home
last modified time | relevance | path

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

/hardware/qcom/audio/legacy/alsa_sound/
DALSAMixer.cpp272 long minVol = info->min; in setMasterVolume() local
276 long vol = minVol + volume * (maxVol - minVol); in setMasterVolume()
278 if (vol < minVol) vol = minVol; in setMasterVolume()
291 long minVol = info->min; in setMasterGain() local
295 long vol = minVol + gain * (maxVol - minVol); in setMasterGain()
297 if (vol < minVol) vol = minVol; in setMasterGain()
313 long minVol = info->min; in setVolume() local
317 long vol = minVol + left * (maxVol - minVol); in setVolume()
319 if (vol < minVol) vol = minVol; in setVolume()
336 long minVol = info->min; in setGain() local
[all …]
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp3282 float minVol = (musicVol > SONIFICATION_HEADSET_VOLUME_MIN) ? in computeVolume() local
3284 if (volume > minVol) { in computeVolume()
3285 volume = minVol; in computeVolume()
3286 ALOGV("computeVolume limiting volume to %f musicVol %f", minVol, musicVol); in computeVolume()