Lines Matching refs:src_format
62 int nchannels = plugin->src_format.channels; in convert()
100 for (channel = 0; channel < plugin->src_format.channels; channel++) { in linear_transfer()
117 snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in init_data() argument
121 src_bytes = snd_pcm_format_width(src_format) / 8; in init_data()
123 src_le = snd_pcm_format_little_endian(src_format) > 0; in init_data()
133 data->src_ofs = snd_pcm_format_physical_width(src_format) / 8 - in init_data()
140 if (snd_pcm_format_signed(src_format) != in init_data()
150 struct snd_pcm_plugin_format *src_format, in snd_pcm_plugin_build_linear() argument
162 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_linear()
164 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_linear()
166 if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) || in snd_pcm_plugin_build_linear()
171 src_format, dst_format, in snd_pcm_plugin_build_linear()
176 init_data(data, src_format->format, dst_format->format); in snd_pcm_plugin_build_linear()