Searched refs:sourceGain (Results 1 – 1 of 1) sorted by relevance
1115 AudioGain sourceGain = null; in updateAudioConfigLocked() local1118 sourceGain = gain; in updateAudioConfigLocked()1123 if (sourceGain != null) { in updateAudioConfigLocked()1124 int steps = (sourceGain.maxValue() - sourceGain.minValue()) in updateAudioConfigLocked()1125 / sourceGain.stepValue(); in updateAudioConfigLocked()1126 int gainValue = sourceGain.minValue(); in updateAudioConfigLocked()1128 gainValue += sourceGain.stepValue() * (int) (volume * steps + 0.5); in updateAudioConfigLocked()1130 gainValue = sourceGain.maxValue(); in updateAudioConfigLocked()1134 sourceGainConfig = sourceGain.buildConfig(AudioGain.MODE_JOINT, in updateAudioConfigLocked()1135 sourceGain.channelMask(), gainValues, 0); in updateAudioConfigLocked()