Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1379 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0 || in audioCallback()
1384 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0) { in audioCallback()
1400 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] != 0) { in audioCallback()
1403 … uint16_t lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[lFreqIdx]; in audioCallback()
1408 lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[++lFreqIdx]; in audioCallback()
1414 if (lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()
1415 … if (lpToneGen->mLoopCounter < lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()
1417 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt, in audioCallback()
1419 lpToneGen->mCurSegment); in audioCallback()
1420 lpToneGen->mCurSegment = lpToneDesc->segments[lpToneGen->mCurSegment].loopIndx; in audioCallback()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h295 uint16_t mCurSegment; // Current segment index in ToneDescriptor segments[] variable