Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_helpers.c574 snd_pcm_sw_params_t *swparams; in cras_alsa_set_swparams() local
577 snd_pcm_sw_params_alloca(&swparams); in cras_alsa_set_swparams()
579 err = snd_pcm_sw_params_current(handle, swparams); in cras_alsa_set_swparams()
584 err = snd_pcm_sw_params_get_boundary(swparams, &boundary); in cras_alsa_set_swparams()
589 err = snd_pcm_sw_params_set_stop_threshold(handle, swparams, boundary); in cras_alsa_set_swparams()
595 err = snd_pcm_sw_params_set_start_threshold(handle, swparams, LONG_MAX); in cras_alsa_set_swparams()
602 err = snd_pcm_sw_params_set_period_event(handle, swparams, 0); in cras_alsa_set_swparams()
611 handle, swparams, in cras_alsa_set_swparams()
619 handle, swparams, SND_PCM_TSTAMP_ENABLE); in cras_alsa_set_swparams()
630 err = snd_pcm_sw_params(handle, swparams); in cras_alsa_set_swparams()
[all …]