Searched defs:curve (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp5410 const VolumeCurvePoint *curve = streamDesc.mVolumeCurve[deviceCategory]; local
5413 int nbSteps = 1 + curve[VOLMAX].mIndex -
5414 curve[VOLMIN].mIndex;
5418 // find what part of the curve this index volume belongs to, or if it's out of bounds
5420 if (volIdx < curve[VOLMIN].mIndex) { // out of bounds
5422 } else if (volIdx < curve[VOLKNEE1].mIndex) {
5424 } else if (volIdx < curve[VOLKNEE2].mIndex) {
5426 } else if (volIdx <= curve[VOLMAX].mIndex) {
5433 float decibels = curve[segment].mDBAttenuation +
5434 ((float)(volIdx - curve[segmen
[all...]

Completed in 3846 milliseconds