Lines Matching full:channels

11  * \brief output. In case 2 or 4 channels are selected on output the component
72 /* check whether params->channels (received from driver) are equal to in selector_verify_params()
83 cd->config.in_channels_count != params->channels) { in selector_verify_params()
84 comp_err(dev, "selector_verify_params(): src in_channels_count does not match pcm channels"); in selector_verify_params()
92 * (it can vary), we set params->channels to sink buffer in selector_verify_params()
93 * channels, which were previously set in in selector_verify_params()
97 cd->config.out_channels_count : buffer_c->stream.channels; in selector_verify_params()
98 params->channels = out_channels; in selector_verify_params()
104 cd->config.out_channels_count != params->channels) { in selector_verify_params()
105 comp_err(dev, "selector_verify_params(): src in_channels_count does not match pcm channels"); in selector_verify_params()
113 * (it can vary), we set params->channels to source buffer in selector_verify_params()
114 * channels, which were previously set in in selector_verify_params()
118 cd->config.in_channels_count : buffer_c->stream.channels; in selector_verify_params()
119 params->channels = in_channels; in selector_verify_params()
132 /* verify input channels */ in selector_verify_params()
142 /* verify output channels */ in selector_verify_params()
148 /* verify proper channels for passthrough mode */ in selector_verify_params()
161 if (cd->config.sel_channel > (params->channels - 1)) { in selector_verify_params()
419 /* copy selected channels from in to out */ in selector_copy()
474 * proper number of channels [1] for selector to actually in selector_prepare()
478 source_c->stream.channels); in selector_prepare()
479 comp_dbg(dev, "selector_prepare(): sinkb->channels = %u", in selector_prepare()
480 sink_c->stream.channels); in selector_prepare()
685 params->channels = cd->config.in_channels_count; in set_selector_params()
687 params->channels = cd->config.out_channels_count; in set_selector_params()
701 sink->stream.channels = params->channels; in set_selector_params()
730 source->stream.channels = in_fmt->channels_count; in set_selector_params()
761 /* verify input channels */ in selector_verify_params()
767 /* verify output channels */ in selector_verify_params()
773 /* apply input/output channels count according to stream direction */ in selector_verify_params()
775 params->channels = out_channels; in selector_verify_params()
778 params->channels = in_channels; in selector_verify_params()
876 /* copy selected channels from in to out */ in selector_process()
925 * proper number of channels [1] for selector to actually in selector_prepare()
929 source_c->stream.channels, sink_c->stream.channels); in selector_prepare()