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

/frameworks/av/services/audioflinger/
H A DEffects.cpp1869 int ctrlIdx = -1; local
1876 ctrlIdx = i - 1;
1882 if (!force && ctrlIdx == mVolumeCtrlIdx &&
1891 mVolumeCtrlIdx = ctrlIdx;
1896 if (ctrlIdx >= 0) {
1897 mEffects[ctrlIdx]->setVolume(&newLeft, &newRight, true);
1908 if ((int)i == ctrlIdx) {
1911 // this also works for ctrlIdx == -1 when there is no volume controller
1912 if ((int)i > ctrlIdx) {

Completed in 10 milliseconds