Searched refs:pcm_frames_to_bytes (Results 1 – 4 of 4) sorted by relevance
/external/tinyalsa/ |
D | pcm.c | 325 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() function 405 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy() 406 int pcm_offset_bytes = pcm_frames_to_bytes(pcm, pcm_offset); in pcm_areas_copy() 407 int src_offset_bytes = pcm_frames_to_bytes(pcm, src_offset); in pcm_areas_copy() 826 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close() 913 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_open() 917 pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open() 990 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
|
D | tinycap.c | 210 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in capture_sample()
|
D | tinyplay.c | 244 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in play_sample()
|
/external/tinyalsa/include/tinyalsa/ |
D | asoundlib.h | 203 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);
|