Home
last modified time | relevance | path

Searched refs:src_channels (Results 1 – 7 of 7) sorted by relevance

/linux/sound/core/oss/
H A Dmulaw.c142 const struct snd_pcm_plugin_channel *src_channels,
169 const struct snd_pcm_plugin_channel *src_channels, in mulaw_decode() argument
181 if (!src_channels[channel].enabled) { in mulaw_decode()
188 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_decode()
190 src_step = src_channels[channel].area.step / 8; in mulaw_decode()
215 const struct snd_pcm_plugin_channel *src_channels, in mulaw_encode() argument
227 if (!src_channels[channel].enabled) { in mulaw_encode()
234 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_encode()
236 src_step = src_channels[channel].area.step / 8; in mulaw_encode()
249 const struct snd_pcm_plugin_channel *src_channels, in mulaw_transfer() argument
[all …]
H A Dcopy.c28 const struct snd_pcm_plugin_channel *src_channels, in copy_transfer() argument
35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer()
41 if (snd_BUG_ON(src_channels->area.first % 8 || in copy_transfer()
42 src_channels->area.step % 8)) in copy_transfer()
47 if (!src_channels->enabled) { in copy_transfer()
54 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer()
55 src_channels++; in copy_transfer()
H A Dlinear.c56 const struct snd_pcm_plugin_channel *src_channels, in convert() argument
68 if (!src_channels[channel].enabled) { in convert()
75 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in convert()
77 src_step = src_channels[channel].area.step / 8; in convert()
89 const struct snd_pcm_plugin_channel *src_channels, in linear_transfer() argument
93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer()
101 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer()
102 src_channels[channel].area.step % 8)) in linear_transfer()
112 convert(plugin, src_channels, dst_channels, frames); in linear_transfer()
H A Dio.c38 const struct snd_pcm_plugin_channel *src_channels, in io_playback_transfer() argument
44 if (snd_BUG_ON(!src_channels)) in io_playback_transfer()
47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
54 if (src_channels[channel].enabled) in io_playback_transfer()
55 bufs[channel] = src_channels[channel].area.addr; in io_playback_transfer()
64 const struct snd_pcm_plugin_channel *src_channels, in io_capture_transfer() argument
H A Droute.c48 const struct snd_pcm_plugin_channel *src_channels, in route_transfer() argument
56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer()
71 copy_area(src_channels, dvp, frames, format); in route_transfer()
78 copy_area(src_channels, dvp, frames, format); in route_transfer()
80 src_channels++; in route_transfer()
H A Dpcm_plugin.c597 …ansfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframe… in snd_pcm_plug_write_transfer() argument
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
650 src_channels = NULL; 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 Dpcm_plugin.h53 const struct snd_pcm_plugin_channel *src_channels,
118 struct snd_pcm_plugin_channel *src_channels,