Home
last modified time | relevance | path

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

/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c109 size_t buffer_sz; member
210 static int skt_connect(char *path, size_t buffer_sz) in skt_connect() argument
216 INFO("connect to %s (sz %zu)", path, buffer_sz); in skt_connect()
228 len = buffer_sz; in skt_connect()
451 if ((common->ctrl_fd = skt_connect(A2DP_CTRL_PATH, common->buffer_sz)) > 0) in a2dp_open_ctrl_path()
489 common->buffer_sz = AUDIO_STREAM_OUTPUT_BUFFER_SZ; in a2dp_stream_common_init()
514 common->audio_fd = skt_connect(A2DP_DATA_PATH, common->buffer_sz); in start_audio_datapath()
679 const size_t period_size = out->common.buffer_sz / AUDIO_STREAM_OUTPUT_BUFFER_PERIODS; in out_get_buffer_size()
682 DEBUG("socket buffer size: %zu period size: %zu", out->common.buffer_sz, period_size); in out_get_buffer_size()
806 latency_us = ((out->common.buffer_sz * 1000 ) / in out_get_latency()