Searched refs:lpToneDesc (Results 1 – 1 of 1) sorted by relevance
1301 const ToneDescriptor *lpToneDesc = lpToneGen->mpToneDesc; in audioCallback() local1347 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0 || in audioCallback()1352 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0) { in audioCallback()1368 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] != 0) { in audioCallback()1371 … uint16_t lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[lFreqIdx]; in audioCallback()1376 lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[++lFreqIdx]; in audioCallback()1382 if (lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()1383 … if (lpToneGen->mLoopCounter < lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()1385 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt, in audioCallback()1388 lpToneGen->mCurSegment = lpToneDesc->segments[lpToneGen->mCurSegment].loopIndx; in audioCallback()[all …]