Lines Matching refs:bufSizeInFrames
39 static SLuint32 bufSizeInFrames = 240; // -f# variable
94 ssize_t actual = fifoWriter->write(buffer, (size_t) bufSizeInFrames); in recorderCallback()
95 if (actual != (ssize_t) bufSizeInFrames) { in recorderCallback()
103 actual = fifo2Writer->write(buffer, (size_t) bufSizeInFrames); in recorderCallback()
104 if (actual != (ssize_t) bufSizeInFrames) { in recorderCallback()
182 ssize_t actual = fifoReader->read(buffer, bufSizeInFrames); in playerCallback()
183 if (actual != (ssize_t) bufSizeInFrames) { in playerCallback()
186 memset(buffer, 0, bufSizeInFrames * channels * sizeof(short)); in playerCallback()
194 for (unsigned i = 0; i < bufSizeInFrames / 8; i += 8) { in playerCallback()
285 bufSizeInFrames = atoi(&arg[2]); in main()
286 if (bufSizeInFrames == 0) { in main()
288 (unsigned) bufSizeInFrames); in main()
345 bufSizeInBytes = channels * bufSizeInFrames * sizeof(short); in main()
560 short buffer[bufSizeInFrames * channels]; in main()
561 ssize_t actual = fifo2Reader->read(buffer, bufSizeInFrames); in main()