Lines Matching refs:fifoFillLevel
116 int fifoFillLevel = 0, minFillLevel = INT_MAX, maxFillLevel = INT_MIN; in main() local
137 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()
205 if (fifoFillLevel < minFillLevel) { in main()
206 minFillLevel = fifoFillLevel; in main()
219 printf("fill=%d, min=%d, max=%d\n", fifoFillLevel, minFillLevel, maxFillLevel); in main()