Home
last modified time | relevance | path

Searched refs:period_size (Results 1 – 7 of 7) sorted by relevance

/external/tinyalsa/
Dtinyplay.c65 unsigned int rate, unsigned int bits, unsigned int period_size,
83 unsigned int period_size = 1024; in main() local
141 period_size = atoi(*argv); in main()
158 chunk_fmt.bits_per_sample, period_size, period_count, chunk_header.sz); in main()
190 unsigned int rate, unsigned int bits, unsigned int period_size, in sample_is_playable() argument
205 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", " frames"); in sample_is_playable()
214 unsigned int rate, unsigned int bits, unsigned int period_size, in play_sample() argument
226 config.period_size = period_size; in play_sample()
238 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in play_sample()
Dtinycap.c64 enum pcm_format format, unsigned int period_size,
82 unsigned int period_size = 1024; in main() local
126 period_size = atoi(*argv); in main()
179 period_size, period_count, cap_time); in main()
195 enum pcm_format format, unsigned int period_size, in capture_sample() argument
210 config.period_size = period_size; in capture_sample()
Dtinyhostless.c49 unsigned int rate, unsigned int bits, unsigned int period_size,
65 unsigned int period_size = 192; in main() local
101 period_size = atoi(*argv); in main()
148 number_bits, period_size, period_count, play_cap_time, in main()
208 …can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, config->period_size, "Period size", " frame… in check_params()
218 unsigned int rate, unsigned int bits, unsigned int period_size, in play_sample() argument
234 config.period_size = period_size; in play_sample()
Dpcm.c921 param_set_min(&params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, config->period_size); in pcm_open()
954 config->period_size = param_get_int(&params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); 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()
995 pcm->config.avail_min = sparams.avail_min = pcm->config.period_size; in pcm_open()
1001 sparams.xfer_align = config->period_size / 2; /* needed for old kernels */ in pcm_open()
/external/adhd/cras/src/alsa_plugin/
Dpcm_cras.c152 if (nframes > io->period_size) in pcm_cras_process_cb()
153 nframes = io->period_size; in pcm_cras_process_cb()
247 io->period_size, in snd_pcm_cras_start()
/external/kernel-headers/original/uapi/sound/
Dusb_stream.h46 int period_size; member
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h95 unsigned int period_size; member