Lines Matching refs:segments

31 …     { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 941, 0 }, 0, 0},
35 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 697, 0 }, 0, 0 },
39 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 697, 0 }, 0, 0 },
43 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 697, 0 }, 0, 0 },
47 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 770, 0 }, 0, 0 },
51 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 770, 0 }, 0, 0 },
55 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 770, 0 }, 0, 0 },
59 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 852, 0 }, 0, 0 },
63 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 852, 0 }, 0, 0 },
67 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 852, 0 }, 0, 0 },
71 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 941, 0 }, 0, 0 },
75 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 941, 0 }, 0, 0 },
79 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1633, 697, 0 }, 0, 0 },
83 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1633, 770, 0 }, 0, 0 },
87 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1633, 852, 0 }, 0, 0 },
91 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1633, 941, 0 }, 0, 0 },
95 { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 425, 0 }, 0, 0 },
99 { .segments = { { .duration = 500 , .waveFreq = { 425, 0 }, 0, 0},
104 { .segments = { { .duration = 200, .waveFreq = { 425, 0 }, 0, 0 },
109 { .segments = { { .duration = 200, .waveFreq = { 425, 0 }, 0, 0 },
113 { .segments = { { .duration = 200, .waveFreq = { 425, 0 }, 0, 0},
118 { .segments = { { .duration = 330, .waveFreq = { 950, 1400, 1800, 0 }, 0, 0},
123 { .segments = { { .duration = 200, .waveFreq = { 425, 0 }, 0, 0 },
130 { .segments = { { .duration = 1000, .waveFreq = { 425, 0 }, 0, 0 },
135 { .segments = { { .duration = 40, .waveFreq = { 400, 1200, 0 }, 0, 0 },
139 { .segments = { { .duration = 100, .waveFreq = { 1200, 0 }, 0, 0 },
144 { .segments = { { .duration = 400, .waveFreq = { 300, 400, 500, 0 }, 0, 0 },
148 { .segments = { { .duration = 200, .waveFreq = { 400, 1200, 0 }, 0, 0 },
152 { .segments = { { .duration = 40, .waveFreq = { 400, 1200, 0 }, 0, 0 },
158 { .segments = { { .duration = 250, .waveFreq = { 440, 0 }, 0, 0 },
163 { .segments = { { .duration = 250, .waveFreq = { 440, 0 }, 0, 0 },
168 { .segments = { { .duration = 250, .waveFreq = { 480, 620, 0 }, 0, 0 },
173 { .segments = { { .duration = 100, .waveFreq = { 350, 440, 0 }, 0, 0 },
178 { .segments = { { .duration = 100, .waveFreq = { 480, 0 }, 0, 0 },
183 { .segments = {{ .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 425, 0 }, 0, 0},
187 { .segments = { { .duration = 2000, .waveFreq = { 440, 480, 0 }, 0, 0 },
192 { .segments = { { .duration = 250, .waveFreq = { 440, 0 }, 0, 0 },
197 { .segments = { { .duration = 250, .waveFreq = { 440, 0 }, 0, 0 },
202 { .segments = { { .duration = 250, .waveFreq = { 480, 620, 0 }, 0, 0 },
207 { .segments = { { .duration = 250, .waveFreq = { 480, 620, 0 }, 0, 0 },
212 { .segments = { { .duration = 500, .waveFreq = { 480, 620, 0 }, 0, 0 },
217 { .segments = { { .duration = 100, .waveFreq = { 350, 440, 0 }, 0, 0 },
222 { .segments = { { .duration = 500, .waveFreq = { 660, 1000, 0 }, 0, 0 },
226 { .segments = { { .duration = 300, .waveFreq = { 440, 0 }, 0, 0 },
230 { .segments = { { .duration = 100, .waveFreq = { 480, 0 }, 0, 0 },
236 { .segments = { { .duration = 32, .waveFreq = { 2091, 0}, 0, 0 },
244 { .segments = { { .duration = 32, .waveFreq = { 2091, 0}, 0, 0 },
255 { .segments = { { .duration = 32, .waveFreq = { 2091, 0}, 0, 0 },
266 { .segments = { { .duration = 0, .waveFreq = { 0 }, 0, 0} },
269 { .segments = { { .duration = 32, .waveFreq = { 2091, 0 }, 0, 0 },
275 { .segments = { { .duration = 0, .waveFreq = { 0 }, 0, 0} },
278 { .segments = { { .duration = 0, .waveFreq = { 0 }, 0, 0} },
281 { .segments = { { .duration = 0, .waveFreq = { 0 }, 0, 0} },
285 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
291 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
297 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
303 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
309 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
315 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
321 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
333 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
345 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
357 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
366 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
375 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
384 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
396 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
408 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
420 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
435 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
450 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
465 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
471 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
477 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
483 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
492 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
501 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
510 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
522 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
534 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
546 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
558 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
570 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
582 { .segments = { { .duration = 25, .waveFreq = { 3700, 0 }, 0, 0 },
597 { .segments = { { .duration = 25, .waveFreq = { 2600, 0 }, 0, 0 },
612 { .segments = { { .duration = 25, .waveFreq = { 1300, 0 }, 0, 0 },
628 { .segments = { { .duration = 62, .waveFreq = { 1109, 0 }, 0, 0 },
636 { .segments = { { .duration = 62, .waveFreq = { 1245, 0 }, 0, 0 },
642 { .segments = { { .duration = 400, .waveFreq = { 1150, 770, 0 }, 0, 0 },
646 { .segments = { { .duration = 120, .waveFreq = { 941, 1477, 0 }, 0, 0 },
650 { .segments = { { .duration = 375, .waveFreq = { 587, 0 }, 0, 0 },
655 { .segments = { { .duration = 62, .waveFreq = { 587, 0 }, 0, 0 },
666 { .segments = { { .duration = 125, .waveFreq = { 941, 0 }, 0, 0 },
672 { .segments = { { .duration = 125, .waveFreq = { 1319, 0 }, 0, 0 },
677 { .segments = { { .duration = 125, .waveFreq = { 1047, 0 }, 0, 0 },
682 { .segments = { { .duration = 125, .waveFreq = { 1480, 0 }, 0, 0 },
689 { .segments = { { .duration = 500, .waveFreq = { 425, 0 }, 0, 0 },
694 { .segments = { { .duration = 400, .waveFreq = { 1150, 770 }, 0, 0 },
698 { .segments = { { .duration = 0, .waveFreq = { 0 }, 0, 0 }},
702 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 350, 440, 0 }, 0, 0 },
706 { .segments = { { .duration = 500, .waveFreq = { 480, 620, 0 }, 0, 0 },
711 { .segments = { { .duration = 250, .waveFreq = { 480, 620, 0 }, 0, 0 },
716 { .segments = { { .duration = 300, .waveFreq = { 440, 0 }, 0, 0 },
724 { .segments = { { .duration = 2000, .waveFreq = { 440, 480, 0 }, 0, 0 },
729 { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 400, 0 }, 0, 0 },
733 { .segments = { { .duration = 500, .waveFreq = { 400, 0 }, 0, 0 },
738 { .segments = { { .duration = 1000, .waveFreq = { 400, 0 }, 0, 0 },
743 { .segments = { { .duration = 375, .waveFreq = { 400, 0 }, 0, 0 },
748 { .segments = { { .duration = 400, .waveFreq = { 400, 0 }, 0, 0 },
755 { .segments = { { .duration = 400, .waveFreq = { 400, 450, 0 }, 0, 0 },
762 …{ .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 400, 425, 450, 0 }, 0, 0 },
766 { .segments = { { .duration = 400, .waveFreq = { 400, 450, 0 }, 0, 0 },
773 { .segments = { { .duration = 375, .waveFreq = { 425, 0 }, 0, 0 },
778 { .segments = { { .duration = 200, .waveFreq = { 425, 0 }, 0, 0 },
785 { .segments = { { .duration = 375, .waveFreq = { 425, 0 }, 0, 0 },
790 { .segments = { { .duration = 750, .waveFreq = { 425, 0 }, 0, 0 },
795 { .segments = { { .duration = 400, .waveFreq = { 401, 425, 449, 0 }, 0, 0 },
802 { .segments = { { .duration = 500, .waveFreq = { 480, 620, 0 }, 0, 0 },
807 { .segments = { { .duration = 400, .waveFreq = { 440, 480, 0 }, 0, 0 },
814 { .segments = { { .duration = 400, .waveFreq = { 400, 450, 0 }, 0, 0 },
821 { .segments = { { .duration = 180, .waveFreq = { 425, 0 }, 0, 0 },
828 …{ .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 375, 400, 425, 0 }, 0, 0 },
832 { .segments = { { .duration = 750, .waveFreq = { 400, 0 }, 0, 0 },
837 { .segments = { { .duration = 250, .waveFreq = { 400, 0 }, 0, 0 },
842 { .segments = { { .duration = 200, .waveFreq = { 400, 0 }, 0, 0 },
849 { .segments = { { .duration = 400, .waveFreq = { 375, 400, 425, 0 }, 0, 0 },
1347 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0 || in audioCallback()
1352 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0) { in audioCallback()
1368 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] != 0) { in audioCallback()
1371 … uint16_t lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[lFreqIdx]; in audioCallback()
1376 lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[++lFreqIdx]; in audioCallback()
1382 if (lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()
1383 … if (lpToneGen->mLoopCounter < lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt) { in audioCallback()
1385 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt, in audioCallback()
1388 lpToneGen->mCurSegment = lpToneDesc->segments[lpToneGen->mCurSegment].loopIndx; in audioCallback()
1395 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt, in audioCallback()
1402 lpToneDesc->segments[lpToneGen->mCurSegment].loopCnt, in audioCallback()
1409 if (lpToneDesc->segments[lpToneGen->mCurSegment].duration == 0) { in audioCallback()
1417 if (lpToneDesc->segments[lpToneDesc->repeatSegment].waveFreq[0] != 0) { in audioCallback()
1433 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] != 0) { in audioCallback()
1445 … += (lpToneDesc->segments[lpToneGen->mCurSegment].duration * lpToneGen->mSamplingRate) / 1000; in audioCallback()
1449 if (lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[0] == 0) { in audioCallback()
1459 uint16_t lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[lFreqIdx]; in audioCallback()
1464 lFrequency = lpToneDesc->segments[lpToneGen->mCurSegment].waveFreq[++lFreqIdx]; in audioCallback()
1564 while (mpToneDesc->segments[segmentIdx].duration) { in prepareWave()
1568 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; in prepareWave()
1578 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; in prepareWave()
1588 if (mpToneDesc->segments[0].duration == TONEGEN_INF) { in prepareWave()
1591 mNextSegSmp = (mpToneDesc->segments[0].duration * mSamplingRate) / 1000; in prepareWave()
1614 if (mpToneDesc->segments[segmentIdx].duration) { in numWaves()
1615 while (mpToneDesc->segments[segmentIdx].waveFreq[lCnt]) { in numWaves()