Searched refs:fifoFillLevel (Results 1 – 1 of 1) sorted by relevance
116 int fifoFillLevel = 0, minFillLevel = INT_MAX, maxFillLevel = INT_MIN; in main() local137 if (actualWritten < min((int) frameCount - fifoFillLevel, (int) framesToWrite)) { in main()139 (int) actualWritten, (int) frameCount - fifoFillLevel, (int) framesToWrite); in main()145 fifoFillLevel += actualWritten; in main()147 printf("fill level after write %d\n", fifoFillLevel); in main()149 if (fifoFillLevel > maxFillLevel) { in main()150 maxFillLevel = fifoFillLevel; in main()193 if (actualRead < min(fifoFillLevel, (int) framesToRead)) { in main()201 fifoFillLevel -= actualRead; in main()203 printf("fill level after read %d\n", fifoFillLevel); in main()[all …]