Lines Matching full:channels
42 if (!(src->channels[src_idx].ch_set & in cras_audio_area_copy()
43 dst->channels[dst_idx].ch_set)) in cras_audio_area_copy()
46 schan = src->channels[src_idx].buf + in cras_audio_area_copy()
47 src_offset * src->channels[src_idx].step_bytes; in cras_audio_area_copy()
48 dchan = dst->channels[dst_idx].buf + in cras_audio_area_copy()
49 dst_offset * dst->channels[dst_idx].step_bytes; in cras_audio_area_copy()
53 dst->channels[dst_idx].step_bytes, in cras_audio_area_copy()
54 src->channels[src_idx].step_bytes, in cras_audio_area_copy()
80 channel_area_set_channel(area->channels, CRAS_CH_FL); in cras_audio_area_config_channels()
81 channel_area_set_channel(area->channels, CRAS_CH_FR); in cras_audio_area_config_channels()
86 area->channels[i].ch_set = 0; in cras_audio_area_config_channels()
89 channel_area_set_channel(&area->channels[i], ch); in cras_audio_area_config_channels()
103 area->channels[i].step_bytes = cras_get_format_bytes(fmt); in cras_audio_area_config_buf_pointers()
104 area->channels[i].buf = base_buffer + i * sample_size; in cras_audio_area_config_buf_pointers()