Lines Matching full:channels

65 	size = array3_size(frames, format->channels, width);  in snd_pcm_plugin_alloc()
83 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
95 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
144 struct snd_pcm_plugin_channel **channels) in snd_pcm_plugin_client_channels() argument
146 *channels = plugin->buf_channels; in snd_pcm_plugin_client_channels()
158 unsigned int channels; in snd_pcm_plugin_build() local
178 channels = src_format->channels; in snd_pcm_plugin_build()
180 channels = dst_format->channels; in snd_pcm_plugin_build()
181 plugin->buf_channels = kcalloc(channels, sizeof(*plugin->buf_channels), GFP_KERNEL); in snd_pcm_plugin_build()
389 dstformat.channels = params_channels(slave_params); in snd_pcm_plug_format_plugins()
392 srcformat.channels = params_channels(params); in snd_pcm_plug_format_plugins()
400 dstformat.channels = params_channels(params); in snd_pcm_plug_format_plugins()
403 srcformat.channels = params_channels(slave_params); in snd_pcm_plug_format_plugins()
414 pdprintf("srcformat: format=%i, rate=%i, channels=%i\n", in snd_pcm_plug_format_plugins()
417 srcformat.channels); in snd_pcm_plug_format_plugins()
418 pdprintf("dstformat: format=%i, rate=%i, channels=%i\n", in snd_pcm_plug_format_plugins()
421 dstformat.channels); in snd_pcm_plug_format_plugins()
443 /* channels reduction */ in snd_pcm_plug_format_plugins()
444 if (srcformat.channels > dstformat.channels) { in snd_pcm_plug_format_plugins()
445 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
447 …pdprintf("channels reduction: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels in snd_pcm_plug_format_plugins()
522 /* channels extension */ in snd_pcm_plug_format_plugins()
523 if (srcformat.channels < dstformat.channels) { in snd_pcm_plug_format_plugins()
524 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
526 …pdprintf("channels extension: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels in snd_pcm_plug_format_plugins()
560 struct snd_pcm_plugin_channel **channels) in snd_pcm_plug_client_channels_buf() argument
578 *channels = v; in snd_pcm_plug_client_channels_buf()
582 nchannels = format->channels; in snd_pcm_plug_client_channels_buf()
584 format->channels > 1)) in snd_pcm_plug_client_channels_buf()