• Home
  • Raw
  • Download

Lines Matching refs:channels

64 	size = frames * format->channels * width;  in snd_pcm_plugin_alloc()
79 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
85 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
88 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
90 size /= format->channels; in snd_pcm_plugin_alloc()
91 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
140 struct snd_pcm_plugin_channel **channels) in snd_pcm_plugin_client_channels() argument
142 *channels = plugin->buf_channels; in snd_pcm_plugin_client_channels()
154 unsigned int channels; in snd_pcm_plugin_build() local
174 channels = src_format->channels; in snd_pcm_plugin_build()
176 channels = dst_format->channels; in snd_pcm_plugin_build()
177 plugin->buf_channels = kcalloc(channels, sizeof(*plugin->buf_channels), GFP_KERNEL); in snd_pcm_plugin_build()
373 dstformat.channels = params_channels(slave_params); in snd_pcm_plug_format_plugins()
376 srcformat.channels = params_channels(params); in snd_pcm_plug_format_plugins()
384 dstformat.channels = params_channels(params); in snd_pcm_plug_format_plugins()
387 srcformat.channels = params_channels(slave_params); in snd_pcm_plug_format_plugins()
401 srcformat.channels); in snd_pcm_plug_format_plugins()
405 dstformat.channels); in snd_pcm_plug_format_plugins()
428 if (srcformat.channels > dstformat.channels) { in snd_pcm_plug_format_plugins()
429 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
431 …tf("channels reduction: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels, err); in snd_pcm_plug_format_plugins()
507 if (srcformat.channels < dstformat.channels) { in snd_pcm_plug_format_plugins()
508 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
510 …tf("channels extension: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels, err); in snd_pcm_plug_format_plugins()
544 struct snd_pcm_plugin_channel **channels) in snd_pcm_plug_client_channels_buf() argument
562 *channels = v; in snd_pcm_plug_client_channels_buf()
565 nchannels = format->channels; in snd_pcm_plug_client_channels_buf()
567 format->channels > 1)) in snd_pcm_plug_client_channels_buf()