• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/

Lines Matching refs:plug

36 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first)
37 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last)
103 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames)
106 snd_assert(snd_pcm_plug_first(plug) != NULL, return -ENXIO);
107 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) {
108 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug);
119 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug);
142 int snd_pcm_plugin_build(struct snd_pcm_substream *plug,
152 snd_assert(plug != NULL, return -ENXIO);
158 plugin->plug = plug;
159 plugin->stream = snd_pcm_plug_stream(plug);
193 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_frames)
196 int stream = snd_pcm_plug_stream(plug);
198 snd_assert(plug != NULL, return -ENXIO);
202 plugin = snd_pcm_plug_last(plug);
210 plugin = snd_pcm_plug_first(plug);
222 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_frames)
226 int stream = snd_pcm_plug_stream(plug);
228 snd_assert(plug != NULL, return -ENXIO);
233 plugin = snd_pcm_plug_first(plug);
244 plugin = snd_pcm_plug_last(plug);
345 int snd_pcm_plug_format_plugins(struct snd_pcm_substream *plug,
355 int stream = snd_pcm_plug_stream(plug);
403 err = snd_pcm_plugin_build_mulaw(plug,
420 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin);
438 err = snd_pcm_plugin_build_linear(plug,
452 err = snd_pcm_plugin_build_rate(plug,
472 err = snd_pcm_plugin_build_mulaw(plug,
478 err = snd_pcm_plugin_build_linear(plug,
499 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin);
514 err = snd_pcm_plugin_build_copy(plug,
531 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug,
540 int stream = snd_pcm_plug_stream(plug);
544 plugin = snd_pcm_plug_first(plug);
547 plugin = snd_pcm_plug_last(plug);
567 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframes_t size)
574 plugin = snd_pcm_plug_first(plug);
596 return snd_pcm_plug_client_size(plug, frames);
599 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *dst_channels_final, snd_pcm_uframes_t size)
606 frames = snd_pcm_plug_slave_size(plug, frames);
611 plugin = snd_pcm_plug_first(plug);