/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/ |
H A D | linear.c | 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) argument 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 134 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 D | copy.c | 52 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); 66 struct snd_pcm_plugin_format *dst_format, 76 snd_assert(src_format->format == dst_format->format, return -ENXIO); 77 snd_assert(src_format->rate == dst_format->rate, return -ENXIO); 78 snd_assert(src_format->channels == dst_format->channels, return -ENXIO); 83 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, 64 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 D | route.c | 66 ndsts = plugin->dst_format.channels; 68 format = plugin->dst_format.format; 91 struct snd_pcm_plugin_format *dst_format, 99 snd_assert(src_format->rate == dst_format->rate, return -ENXIO); 100 snd_assert(src_format->format == dst_format->format, return -ENXIO); 103 src_format, dst_format, 0, &plugin); 89 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 D | pcm_plugin.h | 58 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 D | mulaw.c | 174 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); 217 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); 289 struct snd_pcm_plugin_format *dst_format, 301 snd_assert(src_format->rate == dst_format->rate, return -ENXIO); 302 snd_assert(src_format->channels == dst_format->channels, return -ENXIO); 304 if (dst_format->format == SNDRV_PCM_FORMAT_MU_LAW) { 309 format = dst_format; 319 src_format, dst_format, 287 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 D | rate.c | 89 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); 148 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); 196 if (plugin->src_format.rate < plugin->dst_format.rate) { 228 if (plugin->src_format.rate < plugin->dst_format.rate) { 302 struct snd_pcm_plugin_format *dst_format, 312 snd_assert(src_format->channels == dst_format->channels, return -ENXIO); 315 snd_assert(dst_format->format == SNDRV_PCM_FORMAT_S16, return -ENXIO); 316 snd_assert(src_format->rate != dst_format->rate, return -ENXIO); 319 src_format, dst_format, 326 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 D | io.c | 51 int channel, channels = plugin->dst_format.channels; 74 int channel, channels = plugin->dst_format.channels;
|
H A D | pcm_plugin.c | 61 format = &plugin->dst_format; 145 struct snd_pcm_plugin_format *dst_format, 153 snd_assert(src_format != NULL && dst_format != NULL, return -ENXIO); 164 plugin->dst_format = *dst_format; 165 plugin->dst_width = snd_pcm_format_physical_width(dst_format->format); 170 channels = dst_format->channels; 548 format = &plugin->dst_format; 142 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 D | pcm_oss.c | 1369 size_t oss_frame_bytes = (runtime->oss.plugin_last->dst_width * runtime->oss.plugin_last->dst_format.channels) / 8;
|