Home
last modified time | relevance | path

Searched refs:mCurSegment (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmedia/
DToneGenerator.cpp1175 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0 || in audioCallback()
1180 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0) { in audioCallback()
1196 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] != 0) { in audioCallback()
1199 … unsigned short lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[lFreqIdx]; in audioCallback()
1204 lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[++lFreqIdx]; in audioCallback()
1210 if (lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()
1211 … if (lpToneGen->mLoopCounter < lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()
1213 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt, in audioCallback()
1215 lpToneGen->mCurSegment); in audioCallback()
1216 lpToneGen->mCurSegment = lpToneDesc->segments[lpToneGen->mCurSegment].loopIndx; in audioCallback()
[all …]
/frameworks/av/include/media/
DToneGenerator.h261 unsigned short mCurSegment; // Current segment index in ToneDescriptor segments[] variable