Lines Matching refs:actualRead
207 ssize_t actualRead = source->read(buffer, frames); in dumpTee() local
208 if (actualRead == (ssize_t)OVERRUN && firstRead) { in dumpTee()
210 actualRead = source->read(buffer, frames); in dumpTee()
213 return actualRead; in dumpTee()
461 const ssize_t actualRead = reader(buffer, FRAMES_PER_READ); in createInternal() local
462 if (actualRead <= 0) { in createInternal()
469 buffer, writeFormat, buffer, format, actualRead * info.channels); in createInternal()
475 reallyWritten = sf_writef_short(sf, (const int16_t *)buffer, actualRead); in createInternal()
478 reallyWritten = sf_writef_int(sf, (const int32_t *)buffer, actualRead); in createInternal()
481 reallyWritten = sf_writef_float(sf, (const float *)buffer, actualRead); in createInternal()
493 if (reallyWritten < actualRead) { in createInternal()
495 __func__, filename.c_str(), reallyWritten, actualRead); in createInternal()