Home
last modified time | relevance | path

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

/external/tinyalsa_new/tests/src/
Dpcm_out_test.cc112 unsigned int bytes = pcm_frames_to_bytes(pcm_object, 1); in TEST_F()
135 size_t buffer_size = pcm_frames_to_bytes(pcm_object, kDefaultConfig.period_size); in TEST_F()
145 size_t buffer_size = pcm_frames_to_bytes(pcm_object, kDefaultConfig.period_size); in TEST_F()
189 size_t buffer_size = pcm_frames_to_bytes(pcm_object, kDefaultConfig.period_size); in TEST_F()
Dpcm_in_test.cc85 size_t buffer_size = pcm_frames_to_bytes(pcm_object, kDefaultConfig.period_size); in TEST_F()
107 size_t buffer_size = pcm_frames_to_bytes(pcm_object, kDefaultConfig.period_size); in TEST_F()
Dpcm_loopback_test.cc220 size_t buffer_size = pcm_frames_to_bytes(pcm_in, kDefaultPeriodSize); in TYPED_TEST()
246 size_t buffer_size = pcm_frames_to_bytes(pcm_out, kDefaultPeriodSize); in TYPED_TEST()
/external/tinyalsa_new/examples/
Dpcm-readi.c33 unsigned int frame_size = pcm_frames_to_bytes(pcm, 1); in read_frames()
45 size_t byte_count = pcm_frames_to_bytes(pcm, read_count); in read_frames()
/external/tinyalsa_new/utils/
Dtinycap.c245 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in capture_sample()
258 bytes_per_frame = pcm_frames_to_bytes(pcm, 1); in capture_sample()
Dtinyplay.c499 buffer_size = pcm_frames_to_bytes(ctx->pcm, config->period_size); in play_sample()
523 played_data_size += pcm_frames_to_bytes(ctx->pcm, written_frames); in play_sample()
/external/tinyalsa_new/src/
Dpcm.c490 … pcm->mmap_buffer = pcm->ops->mmap(pcm->data, NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_set_config()
495 pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_set_config()
594 unsigned int pcm_frames_to_bytes(const struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() function
986 pcm->ops->munmap(pcm->data, pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close()
1123 pcm->ops->munmap(pcm->data, pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
1327 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy()
1328 int pcm_offset_bytes = pcm_frames_to_bytes(pcm, pcm_offset); in pcm_areas_copy()
1329 int src_offset_bytes = pcm_frames_to_bytes(pcm, src_offset); in pcm_areas_copy()
/external/tinyalsa/
Dpcm.c345 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() function
426 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy()
427 int pcm_offset_bytes = pcm_frames_to_bytes(pcm, pcm_offset); in pcm_areas_copy()
428 int src_offset_bytes = pcm_frames_to_bytes(pcm, src_offset); in pcm_areas_copy()
888 pcm->ops->munmap(pcm->data, pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close()
989 pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_open()
993 pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
1063 pcm->ops->munmap(pcm->data, pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
Dtinycap.c224 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in capture_sample()
Dtinyplay.c250 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in play_sample()
Dtinyhostless.c283 size = pcm_frames_to_bytes(pcm_cap, pcm_get_buffer_size(pcm_cap)); in play_sample()
/external/tinyalsa_new/include/tinyalsa/
Dpcm.h326 unsigned int pcm_frames_to_bytes(const struct pcm *pcm, unsigned int frames);
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h234 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);