Searched refs:dst_channels (Results 1 – 7 of 7) sorted by relevance
/linux/sound/core/oss/ |
H A 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 …]
|
H A 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()
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A D | pcm_plugin.c | 600 struct snd_pcm_plugin_channel *dst_channels; in snd_pcm_plug_write_transfer() local 616 err = next->client_channels(next, frames1, &dst_channels); in snd_pcm_plug_write_transfer() 628 dst_channels = NULL; in snd_pcm_plug_write_transfer() 630 frames = plugin->transfer(plugin, src_channels, dst_channels, frames); in snd_pcm_plug_write_transfer() 633 src_channels = dst_channels; in snd_pcm_plug_write_transfer() 642 struct snd_pcm_plugin_channel *src_channels, *dst_channels; in snd_pcm_plug_read_transfer() local 655 err = plugin->client_channels(plugin, frames, &dst_channels); in snd_pcm_plug_read_transfer() 660 dst_channels = dst_channels_final; in snd_pcm_plug_read_transfer() 663 frames = plugin->transfer(plugin, src_channels, dst_channels, frames); in snd_pcm_plug_read_transfer() 667 src_channels = dst_channels; in snd_pcm_plug_read_transfer()
|
H A D | pcm_plugin.h | 54 struct snd_pcm_plugin_channel *dst_channels,
|