Lines Matching refs:dst_format
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
117 static void init_data(struct linear_priv *data, int src_format, int dst_format)
122 dst_bytes = snd_pcm_format_width(dst_format) / 8;
124 dst_le = snd_pcm_format_little_endian(dst_format) > 0;
138 data->dst_ofs = snd_pcm_format_physical_width(dst_format) / 8 -
141 snd_pcm_format_signed(dst_format)) {
151 struct snd_pcm_plugin_format *dst_format,
162 if (snd_BUG_ON(src_format->rate != dst_format->rate))
164 if (snd_BUG_ON(src_format->channels != dst_format->channels))
167 !snd_pcm_format_linear(dst_format->format)))
171 src_format, dst_format,
176 init_data(data, src_format->format, dst_format->format);