Searched refs:lpToneDesc (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/media/libaudioclient/
H A DToneGenerator.cpp1262 const ToneDescriptor *lpToneDesc = lpToneGen->mpToneDesc; local
1308 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0 ||
1313 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0) {
1329 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] != 0) {
1332 unsigned short lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[lFreqIdx];
1337 lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[++lFreqIdx];
1343 if (lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) {
1344 if (lpToneGen->mLoopCounter < lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) {
1346 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt,
1349 lpToneGen->mCurSegment = lpToneDesc
[all...]

Completed in 24 milliseconds