Searched refs:volumeDB (Results 1 – 1 of 1) sorted by relevance
4901 float volumeDB = mVolumeCurves->volIndexToDb(stream, Volume::getDeviceCategory(device), index); in AudioPolicyManager() local4925 volumeDB += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in AudioPolicyManager()4933 if (volumeDB > minVolDB) { in AudioPolicyManager()4934 volumeDB = minVolDB; in AudioPolicyManager()4941 if ((volumeDB > -96.0f) && in AudioPolicyManager()4942 (musicVolDB - SONIFICATION_A2DP_MAX_MEDIA_DIFF_DB > volumeDB)) { in AudioPolicyManager()4945 volumeDB, musicVolDB - SONIFICATION_A2DP_MAX_MEDIA_DIFF_DB); in AudioPolicyManager()4946 volumeDB = musicVolDB - SONIFICATION_A2DP_MAX_MEDIA_DIFF_DB; in AudioPolicyManager()4951 volumeDB += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in AudioPolicyManager()4955 return volumeDB; in AudioPolicyManager()