Home
last modified time | relevance | path

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

/system/media/alsa_utils/
Dalsa_device_proxy.c78 proxy->alsa_config.period_size = in proxy_prepare()
165 return proxy->alsa_config.period_size; in proxy_get_period_size()
187 proxy->alsa_config.period_size * proxy->alsa_config.period_count; in proxy_get_presentation_position()
229 dprintf(fd, " period_size: %d\n", proxy->alsa_config.period_size); in proxy_dump()
Dalsa_device_profile.c128 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); in profile_get_period_size() local
129 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size); in profile_get_period_size()
130 return period_size; in profile_get_period_size()
367 config->period_size = profile_calc_min_period_size(profile, config->rate); in read_alsa_device_config()
393 profile->default_config.period_size); in profile_read_device_info()
636 dprintf(fd, " period_size: %d\n", profile->default_config.period_size); in profile_dump()
Dalsa_logging.c107 ALOGV(" period_size:%d", config->period_size); in log_pcm_config()
/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c676 const size_t period_size = out->common.buffer_sz / AUDIO_STREAM_OUTPUT_BUFFER_PERIODS; in out_get_buffer_size() local
679 DEBUG("socket buffer size: %zu period size: %zu", out->common.buffer_sz, period_size); in out_get_buffer_size()
680 if (period_size % mixer_unit_size != 0) { in out_get_buffer_size()
681 ERROR("period size %zu not a multiple of %zu", period_size, mixer_unit_size); in out_get_buffer_size()
684 return period_size; in out_get_buffer_size()