Home
last modified time | relevance | path

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

/AliOS-Things-master/components/uvoice/audio/hal/linux/
A Duvoice_pcm.c29 unsigned int periods; in alsa_pcm_open() local
126 periods = config->period_count; in alsa_pcm_open()
127 buffer_size = period_size * periods; in alsa_pcm_open()
177 periods = 0; in alsa_pcm_open()
179 ret = snd_pcm_hw_params_get_periods(hw_params, &periods, &dir); in alsa_pcm_open()
184 config->period_count = periods; in alsa_pcm_open()
185 snd_info("periods %u\n", periods); in alsa_pcm_open()
/AliOS-Things-master/components/SDL2/src/audio/alsa/
A DSDL_alsa_audio.c468 unsigned int periods; in ALSA_set_buffer_size() local
483 periods = 2; in ALSA_set_buffer_size()
485 this->hidden->pcm_handle, hwparams, &periods, NULL); in ALSA_set_buffer_size()
491 this->hidden->pcm_handle, hwparams, &periods, NULL); in ALSA_set_buffer_size()
512 persize, periods, bufsize); in ALSA_set_buffer_size()
/AliOS-Things-master/components/a2sa/include/
A Dsound_pcm.h97 unsigned int periods; member

Completed in 6 milliseconds