Lines Matching refs:segmentIdx
1348 unsigned int segmentIdx = 0;
1370 while (mpToneDesc->segments[segmentIdx].duration) {
1372 unsigned int lNumWaves = numWaves(segmentIdx);
1374 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx];
1384 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx];
1386 segmentIdx++;
1411 // segmentIdx tone segment index
1417 unsigned int ToneGenerator::numWaves(unsigned int segmentIdx) {
1420 if (mpToneDesc->segments[segmentIdx].duration) {
1421 while (mpToneDesc->segments[segmentIdx].waveFreq[lCnt]) {