Searched refs:cras_get_format_bytes (Results 1 – 19 of 19) sorted by relevance
146 in_buff = (int16_t*)ralloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()147 out_buff = (int16_t*)ralloc(buf_size * 2 * cras_get_format_bytes(&out_fmt)); in TEST()193 in_buff = (int16_t*)malloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()194 out_buff = (int16_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()241 in_buff = (int16_t*)malloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()242 out_buff = (int16_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()289 in_buff = (int16_t*)malloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()290 out_buff = (int16_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()344 in_buff = (int32_t*)malloc(buf_size * cras_get_format_bytes(&in_fmt)); in TEST()345 out_buff = (int32_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()[all …]
184 format_bytes = cras_get_format_bytes(&server_format); in StreamConnected()229 format_bytes = cras_get_format_bytes(&server_format); in StreamConnectedFail()
1269 copy_area_call.dst_format_bytes = cras_get_format_bytes(dst_fmt); in cras_audio_area_copy()
2055 area->channels[i].step_bytes = cras_get_format_bytes(fmt); in cras_audio_area_config_buf_pointers()
114 cras_get_format_bytes(iodev->format); in bt_local_queued_frames()232 size_t format_bytes = cras_get_format_bytes(a2dpio->base.format); in encode_a2dp_packet()297 cras_get_format_bytes(iodev->format); in configure_dev()308 cras_get_format_bytes(iodev->format); in configure_dev()414 format_bytes = cras_get_format_bytes(iodev->format); in encode_and_flush()538 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer()557 format_bytes = cras_get_format_bytes(iodev->format); in put_buffer()
122 buf_bytes = out->conv_buffer_size_frames * cras_get_format_bytes(ofmt); in dev_stream_create()225 target += dev_frames * cras_get_format_bytes(fmt); in dev_stream_mix()251 source_frame_bytes = cras_get_format_bytes(source_format); in capture_with_fmt_conv()253 dst_frame_bytes = cras_get_format_bytes(dst_format); in capture_with_fmt_conv()298 frame_bytes = cras_get_format_bytes(fmt); in capture_copy_converted_to_stream()359 format_bytes = cras_get_format_bytes( in dev_stream_capture()451 format_bytes = cras_get_format_bytes( in dev_stream_capture_avail()
73 unsigned int frame_bytes = cras_get_format_bytes(fmt); in sample_hook()143 unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in frames_queued()219 unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in get_record_buffer()237 unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in put_record_buffer()
323 cras_get_format_bytes(&apm->fmt)); in cras_apm_list_add_apm()664 nread * cras_get_format_bytes(&apm->fmt)); in cras_apm_list_process()676 apm->area->frames /= cras_get_format_bytes(&apm->fmt); in cras_apm_list_get_processed()684 frames * cras_get_format_bytes(&apm->fmt)); in cras_apm_list_put_processed()
102 area->channels[i].step_bytes = cras_get_format_bytes(fmt); in cras_audio_area_config_buf_pointers()
1095 const size_t bytes = nframes * cras_get_format_bytes(fmt); in cras_iodev_put_output_buffer()1135 const unsigned int frame_bytes = cras_get_format_bytes(fmt); in cras_iodev_put_output_buffer()1181 const unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in cras_iodev_get_input_buffer()1338 frame_bytes = cras_get_format_bytes(odev->format); in cras_iodev_fill_odev_zeros()
77 testio->fmt_bytes = cras_get_format_bytes(iodev->format); in configure_dev()
134 info->output_format_bytes = cras_get_format_bytes(format); in hfp_info_add_iodev()140 info->input_format_bytes = cras_get_format_bytes(format); in hfp_info_add_iodev()
228 cras_get_format_bytes(iodev->format); in get_buffer()
456 memset(out, 0, frame_count * cras_get_format_bytes(out_fmt)); in s16_some_to_some()
506 cras_get_format_bytes(out), in cras_fmt_conv_create()
565 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer()1807 format_bytes = cras_get_format_bytes(iodev->format); in fill_whole_buffer_with_zeros()
654 unsigned int frame_bytes = cras_get_format_bytes(odev->format); in write_streams()
124 static inline size_t cras_get_format_bytes(const struct cras_audio_format *fmt) in cras_get_format_bytes() function
3161 return cras_get_format_bytes(fmt); in cras_client_format_bytes_per_frame()