Searched refs:period_size (Results 1 – 6 of 6) sorted by relevance
/external/tinyalsa/ |
D | tinyplay.c | 58 unsigned int rate, unsigned int bits, unsigned int period_size, 67 unsigned int period_size = 1024; in main() local 93 period_size = atoi(*argv); in main() 122 header.bits_per_sample, period_size, period_count); in main() 130 unsigned int rate, unsigned int bits, unsigned int period_size, in play_sample() argument 141 config.period_size = period_size; in play_sample()
|
D | tinycap.c | 62 unsigned int bits, unsigned int period_size, 80 unsigned int period_size = 1024; in main() local 121 period_size = atoi(*argv); in main() 151 period_size, period_count); in main() 166 unsigned int bits, unsigned int period_size, in capture_sample() argument 177 config.period_size = period_size; in capture_sample()
|
D | pcm.c | 494 param_set_min(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, config->period_size); in pcm_open() 528 config->period_size = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); in pcm_open() 530 pcm->buffer_size = config->period_count * config->period_size; in pcm_open() 549 config->period_count * config->period_size / 2; in pcm_open() 557 config->period_count * config->period_size * 10; in pcm_open() 560 config->period_count * config->period_size; in pcm_open() 567 pcm->config.avail_min = sparams.avail_min = pcm->config.period_size; in pcm_open() 573 sparams.xfer_align = config->period_size / 2; /* needed for old kernels */ in pcm_open()
|
/external/qemu/audio/ |
D | alsaaudio.c | 162 unsigned int period_size; member 496 req->buffer_size, req->period_size); in alsa_dump_info() 642 if (req->period_size) { in alsa_open() 647 unsigned int ptime = req->period_size; in alsa_open() 659 snd_pcm_uframes_t psize = req->period_size; in alsa_open() 672 size_in_usec ? "time" : "size", req->period_size); in alsa_open() 676 if (((req->override_mask & 1) && (obt - req->period_size))) in alsa_open() 678 size_in_usec ? "time" : "size", req->period_size, obt); in alsa_open() 893 req.period_size = conf.period_size_out; in alsa_init_out() 998 req.period_size = conf.period_size_in; in alsa_init_in()
|
/external/bluetooth/bluez/audio/ |
D | pcm_bluetooth.c | 181 period_time = 1000000.0 * data->io.period_size / data->io.rate; in playback_hw_thread() 215 data->hw_ptr += frags * data->io.period_size; in playback_hw_thread() 341 uint32_t period_count = io->buffer_size / io->period_size; in bluetooth_prepare() 346 io->period_size, io->buffer_size); in bluetooth_prepare() 365 data->hw_ptr = io->period_size; in bluetooth_prepare() 442 io->period_size, io->buffer_size); in bluetooth_hsp_hw_params() 702 io->period_size, io->buffer_size); in bluetooth_a2dp_hw_params()
|
/external/tinyalsa/include/tinyalsa/ |
D | asoundlib.h | 81 unsigned int period_size; member
|