Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c324 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()
Dasoundlib.h203 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);
/device/generic/car/emulator/audio/driver/
Dext_pcm.c194 return pcm_frames_to_bytes(ext_pcm->pcm, frames); in ext_pcm_frames_to_bytes()
Daudio_hw.c802 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/
Dxa_playback.c329 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm));
/device/linaro/dragonboard/audio/
Daudio_hw.c473 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/
Daudio_hw.c476 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()