Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DToneGenerator.cpp1368 unsigned int segmentIdx = 0; in prepareWave() local
1390 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() argument
1440 if (mpToneDesc->segments[segmentIdx].duration) { in numWaves()
1441 while (mpToneDesc->segments[segmentIdx].waveFreq[lCnt]) { in numWaves()
/frameworks/av/include/media/
DToneGenerator.h283 unsigned int numWaves(unsigned int segmentIdx);