Searched refs:segmentIdx (Results 1 – 2 of 2) sorted by relevance
1542 unsigned int segmentIdx = 0; in prepareWave() local1564 while (mpToneDesc->segments[segmentIdx].duration) { in prepareWave()1566 unsigned int lNumWaves = numWaves(segmentIdx); in prepareWave()1568 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; in prepareWave()1578 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; in prepareWave()1580 segmentIdx++; in prepareWave()1611 unsigned int ToneGenerator::numWaves(unsigned int segmentIdx) { in numWaves() argument1614 if (mpToneDesc->segments[segmentIdx].duration) { in numWaves()1615 while (mpToneDesc->segments[segmentIdx].waveFreq[lCnt]) { in numWaves()
311 unsigned int numWaves(unsigned int segmentIdx);