Home
last modified time | relevance | path

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

/external/tinyalsa/
Dpcm.c330 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()
Dtinyplay.c247 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in play_sample()
Dtinycap.c222 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in capture_sample()
Dtinyhostless.c277 size = pcm_frames_to_bytes(pcm_cap, pcm_get_buffer_size(pcm_cap)); in play_sample()
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h209 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);