Searched refs:dst_frames (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/sound/core/oss/
H A Drate.c43 int src_frames, int dst_frames);
67 int src_frames, int dst_frames) resample_expand()
85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); resample_expand()
97 dst_frames1 = dst_frames; resample_expand()
126 int src_frames, int dst_frames) resample_shrink()
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); resample_shrink()
156 dst_frames1 = dst_frames; resample_shrink()
254 snd_pcm_uframes_t dst_frames; rate_transfer() local
275 dst_frames = rate_dst_frames(plugin, frames); rate_transfer()
276 if (dst_frames > dst_channels[0].frames) rate_transfer()
277 dst_frames = dst_channels[0].frames; rate_transfer()
279 data->func(plugin, src_channels, dst_channels, frames, dst_frames); rate_transfer()
280 return dst_frames; rate_transfer()
344 plugin->dst_frames = rate_dst_frames; snd_pcm_plugin_build_rate()
64 resample_expand(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, int src_frames, int dst_frames) resample_expand() argument
123 resample_shrink(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, int src_frames, int dst_frames) resample_shrink() argument
H A Dpcm_plugin.c112 if (plugin->dst_frames) snd_pcm_plug_alloc()
113 frames = plugin->dst_frames(plugin, frames); snd_pcm_plug_alloc()
221 if (plugin->dst_frames) snd_pcm_plug_client_size()
222 drv_frames = plugin->dst_frames(plugin, drv_frames); snd_pcm_plug_client_size()
246 if (plugin->dst_frames) { snd_pcm_plug_slave_size()
247 frames = plugin->dst_frames(plugin, frames); snd_pcm_plug_slave_size()
597 if (plugin->dst_frames) snd_pcm_plug_write_transfer()
598 frames1 = plugin->dst_frames(plugin, frames); snd_pcm_plug_write_transfer()
H A Dpcm_plugin.h62 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames);
63 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); member in struct:snd_pcm_plugin

Completed in 114 milliseconds