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()
459 const ssize_t actualRead = reader(buffer, FRAMES_PER_READ); in createInternal() local
460 if (actualRead <= 0) { in createInternal()
467 buffer, writeFormat, buffer, format, actualRead * info.channels); in createInternal()
473 reallyWritten = sf_writef_short(sf, (const int16_t *)buffer, actualRead); in createInternal()
476 reallyWritten = sf_writef_int(sf, (const int32_t *)buffer, actualRead); in createInternal()
479 reallyWritten = sf_writef_float(sf, (const float *)buffer, actualRead); in createInternal()
491 if (reallyWritten < actualRead) { in createInternal()
493 __func__, filename.c_str(), reallyWritten, actualRead); in createInternal()