Lines Matching refs:dst_channels
42 struct snd_pcm_plugin_channel *dst_channels,
66 struct snd_pcm_plugin_channel *dst_channels, in resample_expand() argument
84 if (dst_channels[channel].wanted) in resample_expand()
85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand()
86 dst_channels[channel].enabled = 0; in resample_expand()
89 dst_channels[channel].enabled = 1; in resample_expand()
92 dst = (signed short *)dst_channels[channel].area.addr + in resample_expand()
93 dst_channels[channel].area.first / 8 / 2; in resample_expand()
95 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand()
125 struct snd_pcm_plugin_channel *dst_channels, in resample_shrink() argument
143 if (dst_channels[channel].wanted) in resample_shrink()
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_shrink()
145 dst_channels[channel].enabled = 0; in resample_shrink()
148 dst_channels[channel].enabled = 1; in resample_shrink()
151 dst = (signed short *)dst_channels[channel].area.addr + in resample_shrink()
152 dst_channels[channel].area.first / 8 / 2; in resample_shrink()
154 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_shrink()
251 struct snd_pcm_plugin_channel *dst_channels, in rate_transfer() argument
257 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in rate_transfer()
268 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in rate_transfer()
269 dst_channels[channel].area.step % 8)) in rate_transfer()
276 if (dst_frames > dst_channels[0].frames) in rate_transfer()
277 dst_frames = dst_channels[0].frames; in rate_transfer()
279 data->func(plugin, src_channels, dst_channels, frames, dst_frames); in rate_transfer()