Home
last modified time | relevance | path

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

/AliOS-Things-master/components/uvoice/audio/hal/linux/
A Duvoice_pcm.c22 snd_pcm_uframes_t period_size; in alsa_pcm_open() local
110 period_size = config->period_size; in alsa_pcm_open()
112 ret = snd_pcm_hw_params_set_period_size_near(pcm_handle, hw_params, &period_size, &dir); in alsa_pcm_open()
119 ret = snd_pcm_hw_params_get_period_size(hw_params, &period_size, &dir); in alsa_pcm_open()
124 snd_info("period_size %lu\n", period_size); in alsa_pcm_open()
127 buffer_size = period_size * periods; in alsa_pcm_open()
352 pcm->config.period_size = 960; in uvoice_pcm_setup()
356 pcm->config.period_size = 640; in uvoice_pcm_setup()
384 config->format, config->period_size, config->period_count, pcm->dir); in uvoice_pcm_open()
/AliOS-Things-master/components/uvoice/audio/
A Daudio_process.c45 int period_size; in audio_out_process_init() local
55 period_size = period_samples_to_bytes(config); in audio_out_process_init()
58 out->eq = equalizer_create(period_size, in audio_out_process_init()
188 config->rate, bits, config->period_size, 3)) { in audio_in_process_init()
199 config->rate, bits, config->period_size)) { in audio_in_process_init()
A Daudio_vad.c67 struct voice_active_detect *audio_vad_create(int rate, int period_size) in audio_vad_create() argument
78 proc_samples = MIN((rate / 100) * 3, period_size); in audio_vad_create()
A Daudio_vad.h25 struct voice_active_detect *audio_vad_create(int rate, int period_size);
A Daudio_common.h65 return (config->period_size * config->channels * in period_samples_to_bytes()
A Daudio_aec.c109 config->rate, bits, config->period_size)) { in audio_aec_init()
A Daudio_stream.c166 delay = config->period_size / (config->rate / 1000); in out_stream_period_duration()
236 config->period_size = pcminfo->frames >= 1024 ? 1024 : 640; in out_stream_configure()
639 pcm->config.period_size = pcminfo->frames; in in_stream_configure()
664 pcm->config.period_size); in in_stream_configure()
/AliOS-Things-master/components/a2sa/example/
A Dsound_example_wav.c54 static unsigned int period_size = 3200; variable
59 …(FILE *file, unsigned int channels, unsigned int rate, unsigned int bits, unsigned int period_size, in play_sample() argument
70 channels, rate, bits, period_size, period_count); in play_sample()
180 …nk_fmt.num_channels, chunk_fmt.sample_rate, chunk_fmt.bits_per_sample, period_size, period_count) … in sound_wav_thread()
/AliOS-Things-master/components/amp_adapter/include/
A Daos_pcm.h24 int period_size; member
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_audio.h76 int period_size; member
/AliOS-Things-master/components/a2sa/include/
A Dsound_pcm.h95 unsigned int period_size; member

Completed in 13 milliseconds