Searched refs:pcm_frames_to_bytes (Results 1 – 5 of 5) sorted by relevance
/external/tinyalsa/ |
D | pcm.c | 330 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() function 410 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy() 411 int pcm_offset_bytes = pcm_frames_to_bytes(pcm, pcm_offset); in pcm_areas_copy() 412 int src_offset_bytes = pcm_frames_to_bytes(pcm, src_offset); in pcm_areas_copy() 862 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close() 956 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_open() 960 pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open() 1033 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
|
D | tinyplay.c | 247 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in play_sample()
|
D | tinycap.c | 222 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in capture_sample()
|
D | tinyhostless.c | 277 size = pcm_frames_to_bytes(pcm_cap, pcm_get_buffer_size(pcm_cap)); in play_sample()
|
/external/tinyalsa/include/tinyalsa/ |
D | asoundlib.h | 209 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);
|