Searched refs:pcm_frames_to_bytes (Results 1 – 7 of 7) sorted by relevance
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/ |
D | pcm.c | 324 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() function 404 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy() 405 int pcm_offset_bytes = pcm_frames_to_bytes(pcm, pcm_offset); in pcm_areas_copy() 406 int src_offset_bytes = pcm_frames_to_bytes(pcm, src_offset); in pcm_areas_copy() 825 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close() 919 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_open() 923 pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open() 996 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
|
D | asoundlib.h | 203 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);
|
/device/generic/car/emulator/audio/driver/ |
D | ext_pcm.c | 194 return pcm_frames_to_bytes(ext_pcm->pcm, frames); in ext_pcm_frames_to_bytes()
|
D | audio_hw.c | 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()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 329 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm));
|
/device/linaro/dragonboard/audio/ |
D | audio_hw.c | 473 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in out_write_worker() 483 int ret = pcm_write(pcm, buffer, pcm_frames_to_bytes(pcm, frames)); in out_write_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()
|
/device/google/cuttlefish/guest/hals/audio/ |
D | audio_hw.c | 476 buffer_size = pcm_frames_to_bytes(pcm, buffer_frames); in out_write_worker() 486 int ret = pcm_write(pcm, buffer, pcm_frames_to_bytes(pcm, frames)); in out_write_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()
|