Lines Matching refs:dst_channels
143 struct snd_pcm_plugin_channel *dst_channels,
170 struct snd_pcm_plugin_channel *dst_channels, in mulaw_decode() argument
182 if (dst_channels[channel].wanted) in mulaw_decode()
183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode()
184 dst_channels[channel].enabled = 0; in mulaw_decode()
187 dst_channels[channel].enabled = 1; in mulaw_decode()
189 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_decode()
191 dst_step = dst_channels[channel].area.step / 8; in mulaw_decode()
216 struct snd_pcm_plugin_channel *dst_channels, in mulaw_encode() argument
228 if (dst_channels[channel].wanted) in mulaw_encode()
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode()
230 dst_channels[channel].enabled = 0; in mulaw_encode()
233 dst_channels[channel].enabled = 1; in mulaw_encode()
235 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_encode()
237 dst_step = dst_channels[channel].area.step / 8; in mulaw_encode()
250 struct snd_pcm_plugin_channel *dst_channels, in mulaw_transfer() argument
255 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in mulaw_transfer()
266 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in mulaw_transfer()
267 dst_channels[channel].area.step % 8)) in mulaw_transfer()
272 if (frames > dst_channels[0].frames) in mulaw_transfer()
273 frames = dst_channels[0].frames; in mulaw_transfer()
275 data->func(plugin, src_channels, dst_channels, frames); in mulaw_transfer()