Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_hfp_info.c116 size_t input_format_bytes; member
138 if (info->input_format_bytes) in hfp_info_add_iodev()
140 info->input_format_bytes = cras_get_format_bytes(format); in hfp_info_add_iodev()
158 } else if (direction == CRAS_STREAM_INPUT && info->input_format_bytes) { in hfp_info_rm_iodev()
159 info->input_format_bytes = 0; in hfp_info_rm_iodev()
169 return info->output_format_bytes || info->input_format_bytes; in hfp_info_has_iodev()
182 } else if (direction == CRAS_STREAM_INPUT && info->input_format_bytes) { in hfp_buf_acquire()
184 format_bytes = info->input_format_bytes; in hfp_buf_acquire()
199 else if (direction == CRAS_STREAM_INPUT && info->input_format_bytes) in hfp_buf_size()
200 return info->capture_buf->used_size / info->input_format_bytes; in hfp_buf_size()
[all …]