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

/frameworks/av/services/audioflinger/
H A DEffects.cpp1451 int ctrlIdx = -1; local
1458 ctrlIdx = i - 1;
1464 if (ctrlIdx == mVolumeCtrlIdx && *left == mLeftVolume && *right == mRightVolume) {
1472 mVolumeCtrlIdx = ctrlIdx;
1477 if (ctrlIdx >= 0) {
1478 mEffects[ctrlIdx]->setVolume(&newLeft, &newRight, true);
1489 if ((int)i == ctrlIdx) {
1492 // this also works for ctrlIdx == -1 when there is no volume controller
1493 if ((int)i > ctrlIdx) {

Completed in 46 milliseconds