Home
last modified time | relevance | path

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

/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c79 size_t frames_written = 0; in audio_vbuffer_write() local
95 &((uint8_t *)buffer)[frames_written * audio_vbuffer->frame_size], in audio_vbuffer_write()
98 frames_written += frames; in audio_vbuffer_write()
105 return frames_written; in audio_vbuffer_write()
Daudio_hw.c310 if (*position > out->frames_written) { in get_current_output_position()
313 *position, out->frames_written); in get_current_output_position()
315 *position = out->frames_written; in get_current_output_position()
364 size_t frames_written = frames; in out_write() local
369 frames_written = audio_vbuffer_write(&out->buffer, buffer, frames); in out_write()
374 out->frames_written += frames; in out_write()
404 if (frames_written < frames) { in out_write()
406 frames_written, frames); in out_write()
448 frames_sleep = out->frames_written - out->underrun_position; in do_out_standby()
818 size_t frames_written = audio_vbuffer_write(&in->buffer, buffer, buffer_frames); in in_read_worker() local
[all …]
Daudio_hw.h63 uint64_t frames_written; // Protected by this->lock member
/device/linaro/dragonboard/audio/
Daudio_hw.c122 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()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c125 size_t frames_written = 0; in audio_vbuffer_write() local
139 &((uint8_t*)buffer)[frames_written*audio_vbuffer->frame_size], in audio_vbuffer_write()
142 frames_written += frames; in audio_vbuffer_write()
148 return frames_written; in audio_vbuffer_write()
194 uint64_t frames_written; // Protected by this->lock member
526 if (*position > out->frames_written) { in get_current_output_position()
529 *position, out->frames_written); in get_current_output_position()
531 *position = out->frames_written; in get_current_output_position()
564 size_t frames_written = audio_vbuffer_write(&out->buffer, buffer, frames); in out_write() local
568 out->frames_written += frames; in out_write()
[all …]
/device/amlogic/yukawa/hal/audio/
Daudio_hw.h112 unsigned int frames_written; member
Daudio_hw.c354 out->frames_written += out_frames; in out_write()
392 *frames = out->frames_written; in out_get_presentation_position()