Searched refs:dst_channels (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/sound/core/oss/ |
D | mulaw.c | 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() [all …]
|
D | copy.c | 29 struct snd_pcm_plugin_channel *dst_channels, in copy_transfer() argument 35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer() 44 if (snd_BUG_ON(dst_channels->area.first % 8 || in copy_transfer() 45 dst_channels->area.step % 8)) in copy_transfer() 48 if (dst_channels->wanted) in copy_transfer() 49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer() 50 dst_channels->enabled = 0; in copy_transfer() 53 dst_channels->enabled = 1; in copy_transfer() 54 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer() 56 dst_channels++; in copy_transfer()
|
D | rate.c | 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 [all …]
|
D | linear.c | 57 struct snd_pcm_plugin_channel *dst_channels, in convert() argument 69 if (dst_channels[channel].wanted) in convert() 70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert() 71 dst_channels[channel].enabled = 0; in convert() 74 dst_channels[channel].enabled = 1; in convert() 76 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert() 78 dst_step = dst_channels[channel].area.step / 8; in convert() 90 struct snd_pcm_plugin_channel *dst_channels, in linear_transfer() argument 93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer() 104 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer() [all …]
|
D | route.c | 49 struct snd_pcm_plugin_channel *dst_channels, in route_transfer() argument 56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer() 60 if (frames > dst_channels[0].frames) in route_transfer() 61 frames = dst_channels[0].frames; in route_transfer() 67 dvp = dst_channels; in route_transfer()
|
D | io.c | 39 struct snd_pcm_plugin_channel *dst_channels, in io_playback_transfer() argument 65 struct snd_pcm_plugin_channel *dst_channels, in io_capture_transfer() argument 70 if (snd_BUG_ON(!dst_channels)) in io_capture_transfer() 73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer() 80 if (dst_channels[channel].enabled) in io_capture_transfer() 81 bufs[channel] = dst_channels[channel].area.addr; in io_capture_transfer()
|
D | pcm_plugin.c | 595 struct snd_pcm_plugin_channel *dst_channels; in snd_pcm_plug_write_transfer() local 610 if ((err = next->client_channels(next, frames1, &dst_channels)) < 0) { in snd_pcm_plug_write_transfer() 622 dst_channels = NULL; in snd_pcm_plug_write_transfer() 624 if ((frames = plugin->transfer(plugin, src_channels, dst_channels, frames)) < 0) in snd_pcm_plug_write_transfer() 626 src_channels = dst_channels; in snd_pcm_plug_write_transfer() 635 struct snd_pcm_plugin_channel *src_channels, *dst_channels; in snd_pcm_plug_read_transfer() local 647 if ((err = plugin->client_channels(plugin, frames, &dst_channels)) < 0) { in snd_pcm_plug_read_transfer() 652 dst_channels = dst_channels_final; in snd_pcm_plug_read_transfer() 655 if ((frames = plugin->transfer(plugin, src_channels, dst_channels, frames)) < 0) in snd_pcm_plug_read_transfer() 658 src_channels = dst_channels; in snd_pcm_plug_read_transfer()
|
D | pcm_plugin.h | 54 struct snd_pcm_plugin_channel *dst_channels,
|