Home
last modified time | relevance | path

Searched refs:segmentIdx (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1542 unsigned int segmentIdx = 0; in prepareWave() local
1564 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() argument
1614 if (mpToneDesc->segments[segmentIdx].duration) { in numWaves()
1615 while (mpToneDesc->segments[segmentIdx].waveFreq[lCnt]) { in numWaves()
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h311 unsigned int numWaves(unsigned int segmentIdx);