Lines Matching refs:frames_written
122 size_t frames_written = 0; in audio_vbuffer_write() local
136 &((uint8_t*)buffer)[frames_written*audio_vbuffer->frame_size], in audio_vbuffer_write()
139 frames_written += frames; in audio_vbuffer_write()
145 return frames_written; in audio_vbuffer_write()
191 uint64_t frames_written; // Protected by this->lock member
523 if (*position > out->frames_written) { in get_current_output_position()
526 *position, out->frames_written); in get_current_output_position()
528 *position = out->frames_written; in get_current_output_position()
561 size_t frames_written = audio_vbuffer_write(&out->buffer, buffer, frames); in out_write() local
565 out->frames_written += frames; in out_write()
595 if (frames_written < frames) { in out_write()
596 …ALOGW("Hardware backing HAL too slow, could only write %zu of %zu frames", frames_written, frames); in out_write()
642 frames_sleep = out->frames_written - out->underrun_position; in do_out_standby()
1044 size_t frames_written = audio_vbuffer_write(&in->buffer, buffer, buffer_frames); in in_read_worker() local
1047 if (frames_written != buffer_frames) { in in_read_worker()
1048 … ALOGW("in_read_worker only could write %zu / %zu frames", frames_written, buffer_frames); in in_read_worker()
1248 out->frames_written = 0; in adev_open_output_stream()