Searched refs:dst_channels (Results 1 – 8 of 8) sorted by relevance
| /linux/sound/core/oss/ |
| H A D | mulaw.c | 129 struct snd_pcm_plugin_channel *dst_channels, 156 struct snd_pcm_plugin_channel *dst_channels, in mulaw_decode() argument 168 if (dst_channels[channel].wanted) in mulaw_decode() 169 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode() 170 dst_channels[channel].enabled = 0; in mulaw_decode() 173 dst_channels[channel].enabled = 1; in mulaw_decode() 175 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_decode() 177 dst_step = dst_channels[channel].area.step / 8; in mulaw_decode() 202 struct snd_pcm_plugin_channel *dst_channels, in mulaw_encode() argument 214 if (dst_channels[channel].wanted) in mulaw_encode() [all …]
|
| H A D | rate.c | 27 struct snd_pcm_plugin_channel *dst_channels, 51 struct snd_pcm_plugin_channel *dst_channels, in resample_expand() argument 69 if (dst_channels[channel].wanted) in resample_expand() 70 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand() 71 dst_channels[channel].enabled = 0; in resample_expand() 74 dst_channels[channel].enabled = 1; in resample_expand() 77 dst = (signed short *)dst_channels[channel].area.addr + in resample_expand() 78 dst_channels[channel].area.first / 8 / 2; in resample_expand() 80 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand() 110 struct snd_pcm_plugin_channel *dst_channels, in resample_shrink() argument [all …]
|
| H A D | copy.c | 14 struct snd_pcm_plugin_channel *dst_channels, in copy_transfer() argument 20 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer() 29 if (snd_BUG_ON(dst_channels->area.first % 8 || in copy_transfer() 30 dst_channels->area.step % 8)) in copy_transfer() 33 if (dst_channels->wanted) in copy_transfer() 34 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer() 35 dst_channels->enabled = 0; in copy_transfer() 38 dst_channels->enabled = 1; in copy_transfer() 39 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer() 41 dst_channels++; in copy_transfer()
|
| H A D | linear.c | 42 struct snd_pcm_plugin_channel *dst_channels, in convert() argument 54 if (dst_channels[channel].wanted) in convert() 55 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert() 56 dst_channels[channel].enabled = 0; in convert() 59 dst_channels[channel].enabled = 1; in convert() 61 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert() 63 dst_step = dst_channels[channel].area.step / 8; in convert() 75 struct snd_pcm_plugin_channel *dst_channels, in linear_transfer() argument 78 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer() 89 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer() [all …]
|
| H A D | io.c | 24 struct snd_pcm_plugin_channel *dst_channels, in io_playback_transfer() argument 50 struct snd_pcm_plugin_channel *dst_channels, in io_capture_transfer() argument 55 if (snd_BUG_ON(!dst_channels)) in io_capture_transfer() 58 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer() 65 if (dst_channels[channel].enabled) in io_capture_transfer() 66 bufs[channel] = dst_channels[channel].area.addr; in io_capture_transfer()
|
| H A D | route.c | 34 struct snd_pcm_plugin_channel *dst_channels, in route_transfer() argument 41 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer() 45 if (frames > dst_channels[0].frames) in route_transfer() 46 frames = dst_channels[0].frames; in route_transfer() 52 dvp = dst_channels; in route_transfer()
|
| H A D | pcm_plugin.c | 585 struct snd_pcm_plugin_channel *dst_channels; in snd_pcm_plug_write_transfer() local 601 err = next->client_channels(next, frames1, &dst_channels); in snd_pcm_plug_write_transfer() 613 dst_channels = NULL; in snd_pcm_plug_write_transfer() 615 frames = plugin->transfer(plugin, src_channels, dst_channels, frames); in snd_pcm_plug_write_transfer() 618 src_channels = dst_channels; in snd_pcm_plug_write_transfer() 627 struct snd_pcm_plugin_channel *src_channels, *dst_channels; in snd_pcm_plug_read_transfer() local 640 err = plugin->client_channels(plugin, frames, &dst_channels); in snd_pcm_plug_read_transfer() 645 dst_channels = dst_channels_final; in snd_pcm_plug_read_transfer() 648 frames = plugin->transfer(plugin, src_channels, dst_channels, frames); in snd_pcm_plug_read_transfer() 652 src_channels = dst_channels; in snd_pcm_plug_read_transfer()
|
| H A D | pcm_plugin.h | 54 struct snd_pcm_plugin_channel *dst_channels,
|