Home
last modified time | relevance | path

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

/device/generic/car/emulator/audio/driver/
Daudio_hw.c390 int buffer_frames; in out_write_worker() local
451 buffer_frames = out->pcm_config.period_size; in out_write_worker()
452 buffer_size = ext_pcm_frames_to_bytes(ext_pcm, buffer_frames); in out_write_worker()
460 int frames = audio_vbuffer_read(&out->buffer, buffer, buffer_frames); in out_write_worker()
957 size_t buffer_frames; in in_read_worker() local
1000 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1001 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in in_read_worker()
1010 int ret = pcm_read(pcm, buffer, pcm_frames_to_bytes(pcm, buffer_frames)); in in_read_worker()
1017 size_t frames_written = audio_vbuffer_write(&in->buffer, buffer, buffer_frames); in in_read_worker()
1020 if (frames_written != buffer_frames) { in in_read_worker()
[all …]