Home
last modified time | relevance | path

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

/external/tinyalsa/
Dtinyplay.c65 unsigned int period_count);
83 unsigned int period_count = 4; in main() local
144 period_count = atoi(*argv); in main()
156 chunk_fmt.bits_per_sample, period_size, period_count); in main()
189 unsigned int period_count) in sample_is_playable() argument
204 can_play &= check_param(params, PCM_PARAM_PERIODS, period_count, "Period count", " periods"); in sample_is_playable()
213 unsigned int period_count) in play_sample() argument
225 config.period_count = period_count; in play_sample()
236 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in play_sample()
Dtinycap.c65 unsigned int period_count, unsigned int cap_time);
83 unsigned int period_count = 4; in main() local
130 period_count = atoi(*argv); in main()
179 period_size, period_count, cap_time); in main()
196 unsigned int period_count, unsigned int cap_time) in capture_sample() argument
211 config.period_count = period_count; in capture_sample()
Dtinyhostless.c50 unsigned int period_count, unsigned int play_cap_time,
66 unsigned int period_count = 4; in main() local
106 period_count = atoi(*argv); in main()
148 number_bits, period_size, period_count, play_cap_time, in main()
209 …can_play &= check_param(params, PCM_PARAM_PERIODS, config->period_count, "Period count", " periods… in check_params()
219 unsigned int period_count, unsigned int play_cap_time, in play_sample() argument
235 config.period_count = period_count; in play_sample()
Dpcm.c928 param_set_int(&params, SNDRV_PCM_HW_PARAM_PERIODS, config->period_count); in pcm_open()
955 config->period_count = param_get_int(&params, SNDRV_PCM_HW_PARAM_PERIODS); in pcm_open()
956 pcm->buffer_size = config->period_count * config->period_size; in pcm_open()
977 config->period_count * config->period_size / 2; in pcm_open()
985 config->period_count * config->period_size * 10; in pcm_open()
988 config->period_count * config->period_size; in pcm_open()
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h96 unsigned int period_count; member