Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4939 float volumeDB = mVolumeCurves->volIndexToDb(stream, Volume::getDeviceCategory(device), index); in AudioPolicyManager() local
4963 volumeDB += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in AudioPolicyManager()
4971 if (volumeDB > minVolDB) { in AudioPolicyManager()
4972 volumeDB = minVolDB; in AudioPolicyManager()
4979 if ((volumeDB > -96.0f) && in AudioPolicyManager()
4980 (musicVolDB - SONIFICATION_A2DP_MAX_MEDIA_DIFF_DB > volumeDB)) { in AudioPolicyManager()
4983 volumeDB, musicVolDB - SONIFICATION_A2DP_MAX_MEDIA_DIFF_DB); in AudioPolicyManager()
4984 volumeDB = musicVolDB - SONIFICATION_A2DP_MAX_MEDIA_DIFF_DB; in AudioPolicyManager()
4989 volumeDB += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in AudioPolicyManager()
4993 return volumeDB; in AudioPolicyManager()