Searched refs:period_size (Results 1 – 11 of 11) sorted by relevance
/AliOS-Things-master/components/uvoice/audio/hal/linux/ |
A D | uvoice_pcm.c | 22 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 D | audio_process.c | 45 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 D | audio_vad.c | 67 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 D | audio_vad.h | 25 struct voice_active_detect *audio_vad_create(int rate, int period_size);
|
A D | audio_common.h | 65 return (config->period_size * config->channels * in period_samples_to_bytes()
|
A D | audio_aec.c | 109 config->rate, bits, config->period_size)) { in audio_aec_init()
|
A D | audio_stream.c | 166 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 D | sound_example_wav.c | 54 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 D | aos_pcm.h | 24 int period_size; member
|
/AliOS-Things-master/components/uvoice/internal/ |
A D | uvoice_audio.h | 76 int period_size; member
|
/AliOS-Things-master/components/a2sa/include/ |
A D | sound_pcm.h | 95 unsigned int period_size; member
|
Completed in 13 milliseconds