Home
last modified time | relevance | path

Searched refs:buffer_frames (Results 1 – 3 of 3) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_hw.c208 int buffer_frames; in out_write_worker() local
257 buffer_frames = out->pcm_config.period_size; in out_write_worker()
258 buffer_size = ext_pcm_frames_to_bytes(ext_pcm, buffer_frames); in out_write_worker()
266 int frames = audio_vbuffer_read(&out->buffer, buffer, buffer_frames); in out_write_worker()
758 size_t buffer_frames; in in_read_worker() local
801 buffer_frames = in->pcm_config.period_size; in in_read_worker()
802 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in in_read_worker()
811 int ret = pcm_read(pcm, buffer, pcm_frames_to_bytes(pcm, buffer_frames)); in in_read_worker()
818 size_t frames_written = audio_vbuffer_write(&in->buffer, buffer, buffer_frames); in in_read_worker()
821 if (frames_written != buffer_frames) { in in_read_worker()
[all …]
/device/linaro/dragonboard/audio/
Daudio_hw.c423 int buffer_frames; in out_write_worker() local
472 buffer_frames = out->pcm_config.period_size; in out_write_worker()
473 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in out_write_worker()
481 int frames = audio_vbuffer_read(&out->buffer, buffer, buffer_frames); in out_write_worker()
982 size_t buffer_frames; in in_read_worker() local
1026 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1027 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in in_read_worker()
1036 int ret = pcm_read(pcm, buffer, pcm_frames_to_bytes(pcm, buffer_frames)); in in_read_worker()
1044 size_t frames_written = audio_vbuffer_write(&in->buffer, buffer, buffer_frames); in in_read_worker()
1047 if (frames_written != buffer_frames) { in in_read_worker()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c426 int buffer_frames; in out_write_worker() local
475 buffer_frames = out->pcm_config.period_size; in out_write_worker()
476 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in out_write_worker()
484 int frames = audio_vbuffer_read(&out->buffer, buffer, buffer_frames); in out_write_worker()
985 size_t buffer_frames; in in_read_worker() local
1029 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1030 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in in_read_worker()
1039 int ret = pcm_read(pcm, buffer, pcm_frames_to_bytes(pcm, buffer_frames)); in in_read_worker()
1047 size_t frames_written = audio_vbuffer_write(&in->buffer, buffer, buffer_frames); in in_read_worker()
1050 if (frames_written != buffer_frames) { in in_read_worker()
[all …]