Searched refs:src_format (Results 1 - 9 of 9) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/ |
H A D | copy.c | 42 nchannels = plugin->src_format.channels; 57 snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format); 65 struct snd_pcm_plugin_format *src_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); 80 width = snd_pcm_format_physical_width(src_format->format); 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 | linear.c | 51 int nchannels = plugin->src_format.channels; 95 for (channel = 0; channel < plugin->src_format.channels; channel++) { 109 static int conv_index(int src_format, int dst_format) argument 113 sign = (snd_pcm_format_signed(src_format) != 116 src_endian = snd_pcm_format_big_endian(src_format); 119 src_endian = snd_pcm_format_little_endian(src_format); 128 src_width = snd_pcm_format_width(src_format) / 8 - 1; 135 struct snd_pcm_plugin_format *src_format, 146 snd_assert(src_format->rate == dst_format->rate, return -ENXIO); 147 snd_assert(src_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 | route.c | 65 nsrcs = plugin->src_format.channels; 90 struct snd_pcm_plugin_format *src_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 | 57 struct snd_pcm_plugin_format src_format; /* source format */ member in struct:snd_pcm_plugin 87 struct snd_pcm_plugin_format *src_format, 104 struct snd_pcm_plugin_format *src_format, 108 struct snd_pcm_plugin_format *src_format, 112 struct snd_pcm_plugin_format *src_format, 116 struct snd_pcm_plugin_format *src_format, 120 struct snd_pcm_plugin_format *src_format,
|
H A D | rate.c | 62 for (channel = 0; channel < plugin->src_format.channels; channel++) { 83 for (channel = 0; channel < plugin->src_format.channels; channel++) { 142 for (channel = 0; channel < plugin->src_format.channels; ++channel) { 196 if (plugin->src_format.rate < plugin->dst_format.rate) { 228 if (plugin->src_format.rate < plugin->dst_format.rate) { 265 for (channel = 0; channel < plugin->src_format.channels; channel++) { 301 struct snd_pcm_plugin_format *src_format, 312 snd_assert(src_format->channels == dst_format->channels, return -ENXIO); 313 snd_assert(src_format->channels > 0, return -ENXIO); 314 snd_assert(src_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 | mulaw.c | 166 int nchannels = plugin->src_format.channels; 208 int nchannels = plugin->src_format.channels; 253 for (channel = 0; channel < plugin->src_format.channels; channel++) { 288 struct snd_pcm_plugin_format *src_format, 301 snd_assert(src_format->rate == dst_format->rate, return -ENXIO); 302 snd_assert(src_format->channels == dst_format->channels, return -ENXIO); 305 format = src_format; 308 else if (src_format->format == SNDRV_PCM_FORMAT_MU_LAW) { 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 | pcm_plugin.c | 59 format = &plugin->src_format; 144 struct snd_pcm_plugin_format *src_format, 153 snd_assert(src_format != NULL && dst_format != NULL, return -ENXIO); 161 plugin->src_format = *src_format; 162 plugin->src_width = snd_pcm_format_physical_width(src_format->format); 168 channels = src_format->channels; 545 format = &plugin->src_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 | io.c | 100 for (channel = 0; channel < plugin->src_format.channels; ++channel, ++v)
|
H A D | pcm_oss.c | 1268 size_t oss_frame_bytes = (runtime->oss.plugin_first->src_width * runtime->oss.plugin_first->src_format.channels) / 8;
|
Completed in 113 milliseconds