Searched defs:period_size (Results 1 - 2 of 2) sorted by relevance

/system/media/alsa_utils/
H A Dalsa_device_profile.c128 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); local
129 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size);
130 return period_size;
352 config->period_size = profile_calc_min_period_size(profile, config->rate);
378 profile->default_config.period_size);
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c678 // period_size is the AudioFlinger mixer buffer size.
679 const size_t period_size = out->common.buffer_sz / AUDIO_STREAM_OUTPUT_BUFFER_PERIODS; local
682 DEBUG("socket buffer size: %zu period size: %zu", out->common.buffer_sz, period_size);
683 if (period_size % mixer_unit_size != 0) {
684 ERROR("period size %zu not a multiple of %zu", period_size, mixer_unit_size);
687 return period_size;

Completed in 97 milliseconds