Searched refs:segmentIdx (Results 1 – 2 of 2) sorted by relevance
1368 unsigned int segmentIdx = 0; in prepareWave() local1390 while (mpToneDesc->segments[segmentIdx].duration) { in prepareWave()1392 unsigned int lNumWaves = numWaves(segmentIdx); in prepareWave()1394 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; in prepareWave()1404 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; in prepareWave()1406 segmentIdx++; in prepareWave()1437 unsigned int ToneGenerator::numWaves(unsigned int segmentIdx) { in numWaves() argument1440 if (mpToneDesc->segments[segmentIdx].duration) { in numWaves()1441 while (mpToneDesc->segments[segmentIdx].waveFreq[lCnt]) { in numWaves()
283 unsigned int numWaves(unsigned int segmentIdx);