Searched refs:period_size (Results 1 – 5 of 5) sorted by relevance
/external/tinyalsa/ |
D | tinyplay.c | 64 unsigned int rate, unsigned int bits, unsigned int period_size, 82 unsigned int period_size = 1024; in main() local 139 period_size = atoi(*argv); in main() 156 chunk_fmt.bits_per_sample, period_size, period_count); in main() 188 unsigned int rate, unsigned int bits, unsigned int period_size, in sample_is_playable() argument 203 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", "Hz"); in sample_is_playable() 212 unsigned int rate, unsigned int bits, unsigned int period_size, in play_sample() argument 224 config.period_size = period_size; in play_sample() 234 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in play_sample()
|
D | tinycap.c | 63 enum pcm_format format, unsigned int period_size, 81 unsigned int period_size = 1024; in main() local 123 period_size = atoi(*argv); in main() 169 period_size, period_count); in main() 185 enum pcm_format format, unsigned int period_size, in capture_sample() argument 197 config.period_size = period_size; in capture_sample()
|
D | pcm.c | 880 param_set_min(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, config->period_size); in pcm_open() 913 config->period_size = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); in pcm_open() 915 pcm->buffer_size = config->period_count * config->period_size; in pcm_open() 936 config->period_count * config->period_size / 2; in pcm_open() 944 config->period_count * config->period_size * 10; in pcm_open() 947 config->period_count * config->period_size; in pcm_open() 954 pcm->config.avail_min = sparams.avail_min = pcm->config.period_size; in pcm_open() 960 sparams.xfer_align = config->period_size / 2; /* needed for old kernels */ in pcm_open()
|
/external/kernel-headers/original/uapi/sound/ |
D | usb_stream.h | 45 int period_size; member
|
/external/tinyalsa/include/tinyalsa/ |
D | asoundlib.h | 92 unsigned int period_size; member
|