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

/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioStreamOutALSA.cpp112 int period_size; local
237 period_size = mHandle->periodSize;
239 if (write_pending < period_size) {
240 write_pending = period_size;
245 period_size);
249 period_size);
276 sent += static_cast<ssize_t>((period_size));
277 write_pending -= period_size;
H A DAudioStreamInALSA.cpp128 int period_size; local
325 period_size = mHandle->periodSize;
334 int period_bytes = mHandle->handle->period_size;
421 if (read_pending < period_size) {
422 read_pending = period_size;
426 period_size);
456 read += static_cast<ssize_t>((period_size));
457 read_pending -= period_size;
460 memset(buffer, 0, period_size);
462 buffer = ((uint8_t *)buffer) + period_size;
[all...]
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_audio.h34 unsigned period_size; member in struct:pcm
/hardware/qcom/audio/hal/
H A Daudio_hw.c89 .period_size = DEEP_BUFFER_OUTPUT_PERIOD_SIZE,
100 .period_size = LOW_LATENCY_OUTPUT_PERIOD_SIZE,
111 .period_size = HDMI_MULTI_PERIOD_SIZE,
136 .period_size = AFE_PROXY_PLAYBACK_PERIOD_SIZE,
150 .period_size = AFE_PROXY_RECORD_PERIOD_SIZE,
1375 return out->config.period_size *
1609 return (out->config.period_count * out->config.period_size * 1000) /
1824 size_t kernel_buffer_size = out->config.period_size * out->config.period_count;
1937 return in->config.period_size *
2283 out->config.period_size
2984 period_size_is_plausible_for_low_latency(int period_size) argument
[all...]
/hardware/qcom/audio/msm8909/hal/
H A Daudio_hw.c74 .period_size = DEEP_BUFFER_OUTPUT_PERIOD_SIZE,
85 .period_size = LOW_LATENCY_OUTPUT_PERIOD_SIZE,
96 .period_size = HDMI_MULTI_PERIOD_SIZE,
119 .period_size = AFE_PROXY_PLAYBACK_PERIOD_SIZE,
133 .period_size = AFE_PROXY_RECORD_PERIOD_SIZE,
1646 return out->config.period_size *
1923 return (out->config.period_count * out->config.period_size * 1000) /
2171 size_t kernel_buffer_size = out->config.period_size * out->config.period_count;
2304 return in->config.period_size *
2663 out->config.period_size
3364 period_size_is_plausible_for_low_latency(int period_size) argument
[all...]

Completed in 92 milliseconds