Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dfifo_tests.cpp128 ssize_t actualWritten = fifoWriter.write( in main() local
131 printf("wrote %d out of %d\n", (int) actualWritten, (int) framesToWrite); in main()
133 if (actualWritten < 0 || (size_t) actualWritten > framesToWrite) { in main()
137 if (actualWritten < min((int) frameCount - fifoFillLevel, (int) framesToWrite)) { in main()
139 (int) actualWritten, (int) frameCount - fifoFillLevel, (int) framesToWrite); in main()
141 framesWritten += actualWritten; in main()
142 if (actualWritten > 0) { in main()
145 fifoFillLevel += actualWritten; in main()
232 sf_count_t actualWritten = sf_writef_short(sfout, outputBuffer, framesRead); in main() local
236 if (actualWritten != (sf_count_t) framesRead) { in main()