Searched refs:dst_format (Results 1 - 18 of 18) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/core/oss/
H A Dcopy.c49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format);
63 struct snd_pcm_plugin_format *dst_format,
74 if (snd_BUG_ON(src_format->format != dst_format->format))
76 if (snd_BUG_ON(src_format->rate != dst_format->rate))
78 if (snd_BUG_ON(src_format->channels != dst_format->channels))
85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format,
61 snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Droute.c62 ndsts = plugin->dst_format.channels;
64 format = plugin->dst_format.format;
87 struct snd_pcm_plugin_format *dst_format,
96 if (snd_BUG_ON(src_format->rate != dst_format->rate))
98 if (snd_BUG_ON(src_format->format != dst_format->format))
102 src_format, dst_format, 0, &plugin);
85 snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Dlinear.c70 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) argument
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
149 snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
[all...]
H A Dpcm_plugin.h58 struct snd_pcm_plugin_format dst_format; /* destination format */ member in struct:snd_pcm_plugin
88 struct snd_pcm_plugin_format *dst_format,
105 struct snd_pcm_plugin_format *dst_format,
109 struct snd_pcm_plugin_format *dst_format,
113 struct snd_pcm_plugin_format *dst_format,
117 struct snd_pcm_plugin_format *dst_format,
121 struct snd_pcm_plugin_format *dst_format,
H A Drate.c85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
193 if (plugin->src_format.rate < plugin->dst_format.rate) {
226 if (plugin->src_format.rate < plugin->dst_format.rate) {
302 struct snd_pcm_plugin_format *dst_format,
313 if (snd_BUG_ON(src_format->channels != dst_format->channels))
319 if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16))
321 if (snd_BUG_ON(src_format->rate == dst_format->rate))
325 src_format, dst_format,
332 if (src_format->rate < dst_format
300 snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
[all...]
H A Dmulaw.c183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
300 struct snd_pcm_plugin_format *dst_format,
313 if (snd_BUG_ON(src_format->rate != dst_format->rate))
315 if (snd_BUG_ON(src_format->channels != dst_format->channels))
318 if (dst_format->format == SNDRV_PCM_FORMAT_MU_LAW) {
323 format = dst_format;
334 src_format, dst_format,
298 snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Dio.c49 int channel, channels = plugin->dst_format.channels;
75 int channel, channels = plugin->dst_format.channels;
H A Dpcm_plugin.c57 format = &plugin->dst_format;
146 struct snd_pcm_plugin_format *dst_format,
155 if (snd_BUG_ON(!src_format || !dst_format))
167 plugin->dst_format = *dst_format;
168 plugin->dst_width = snd_pcm_format_physical_width(dst_format->format);
173 channels = dst_format->channels;
556 format = &plugin->dst_format;
143 snd_pcm_plugin_build(struct snd_pcm_substream *plug, const char *name, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, size_t extra, struct snd_pcm_plugin **ret) argument
H A Dpcm_oss.c1426 size_t oss_frame_bytes = (runtime->oss.plugin_last->dst_width * runtime->oss.plugin_last->dst_format.channels) / 8;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/core/oss/
H A Dcopy.c49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format);
63 struct snd_pcm_plugin_format *dst_format,
74 if (snd_BUG_ON(src_format->format != dst_format->format))
76 if (snd_BUG_ON(src_format->rate != dst_format->rate))
78 if (snd_BUG_ON(src_format->channels != dst_format->channels))
85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format,
61 snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Droute.c62 ndsts = plugin->dst_format.channels;
64 format = plugin->dst_format.format;
87 struct snd_pcm_plugin_format *dst_format,
96 if (snd_BUG_ON(src_format->rate != dst_format->rate))
98 if (snd_BUG_ON(src_format->format != dst_format->format))
102 src_format, dst_format, 0, &plugin);
85 snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Dlinear.c70 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) argument
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
149 snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
[all...]
H A Dpcm_plugin.h58 struct snd_pcm_plugin_format dst_format; /* destination format */ member in struct:snd_pcm_plugin
88 struct snd_pcm_plugin_format *dst_format,
105 struct snd_pcm_plugin_format *dst_format,
109 struct snd_pcm_plugin_format *dst_format,
113 struct snd_pcm_plugin_format *dst_format,
117 struct snd_pcm_plugin_format *dst_format,
121 struct snd_pcm_plugin_format *dst_format,
H A Drate.c85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
193 if (plugin->src_format.rate < plugin->dst_format.rate) {
226 if (plugin->src_format.rate < plugin->dst_format.rate) {
302 struct snd_pcm_plugin_format *dst_format,
313 if (snd_BUG_ON(src_format->channels != dst_format->channels))
319 if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16))
321 if (snd_BUG_ON(src_format->rate == dst_format->rate))
325 src_format, dst_format,
332 if (src_format->rate < dst_format
300 snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
[all...]
H A Dmulaw.c183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
300 struct snd_pcm_plugin_format *dst_format,
313 if (snd_BUG_ON(src_format->rate != dst_format->rate))
315 if (snd_BUG_ON(src_format->channels != dst_format->channels))
318 if (dst_format->format == SNDRV_PCM_FORMAT_MU_LAW) {
323 format = dst_format;
334 src_format, dst_format,
298 snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Dio.c49 int channel, channels = plugin->dst_format.channels;
75 int channel, channels = plugin->dst_format.channels;
H A Dpcm_plugin.c57 format = &plugin->dst_format;
146 struct snd_pcm_plugin_format *dst_format,
155 if (snd_BUG_ON(!src_format || !dst_format))
167 plugin->dst_format = *dst_format;
168 plugin->dst_width = snd_pcm_format_physical_width(dst_format->format);
173 channels = dst_format->channels;
556 format = &plugin->dst_format;
143 snd_pcm_plugin_build(struct snd_pcm_substream *plug, const char *name, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, size_t extra, struct snd_pcm_plugin **ret) argument
H A Dpcm_oss.c1426 size_t oss_frame_bytes = (runtime->oss.plugin_last->dst_width * runtime->oss.plugin_last->dst_format.channels) / 8;

Completed in 205 milliseconds