Lines Matching defs:dst_format
59 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
109 static int conv_index(int src_format, int dst_format)
114 snd_pcm_format_signed(dst_format));
117 dst_endian = snd_pcm_format_big_endian(dst_format);
120 dst_endian = snd_pcm_format_little_endian(dst_format);
129 dst_width = snd_pcm_format_width(dst_format) / 8 - 1;
136 struct snd_pcm_plugin_format *dst_format,
146 snd_assert(src_format->rate == dst_format->rate, return -ENXIO);
147 snd_assert(src_format->channels == dst_format->channels, return -ENXIO);
149 snd_pcm_format_linear(dst_format->format), return -ENXIO);
152 src_format, dst_format,
157 data->conv = conv_index(src_format->format, dst_format->format);