Lines Matching refs:bytes
320 size_t bytes) in out_write() argument
326 size_t out_frames = bytes / frame_size; in out_write()
328 ALOGV("%s: devices: %d, bytes %zu", __func__, out->devices, bytes); in out_write()
359 info.bytes = out_frames * frame_size; in out_write()
370 usleep((int64_t)bytes * 1000000 / audio_stream_out_frame_size(stream) / in out_write()
374 return bytes; in out_write()
614 size_t bytes) in in_read() argument
620 size_t in_frames = bytes / frame_size; in in_read()
622 ALOGV("in_read: stream: %d, bytes %zu", in->source, bytes); in in_read()
628 info.bytes = bytes; in in_read()
630 const uint64_t time_increment_nsec = (uint64_t)bytes * NANOS_PER_SECOND / in in_read()
642 memset(buffer, 0, bytes); in in_read()
648 memset(buffer, 0, bytes); in in_read()
659 fwrite((char*)buffer, 1, bytes, fp_ref); in in_read()
672 return info.bytes; in in_read()
712 memset(buffer, 0, bytes); in in_read()
716 usleep((int64_t)bytes * 1000000 / audio_stream_in_frame_size(stream) / in in_read()
722 info.bytes = bytes; in in_read()
733 fwrite((char*)buffer, 1, bytes, fp_in); in in_read()
747 return bytes; in in_read()