Lines Matching refs:tmpformat
367 struct snd_pcm_plugin_format tmpformat; in snd_pcm_plug_format_plugins() local
404 tmpformat = srcformat; in snd_pcm_plug_format_plugins()
420 tmpformat.format = SNDRV_PCM_FORMAT_S16; in snd_pcm_plug_format_plugins()
422 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
431 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
437 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
438 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
439 …pdprintf("channels reduction: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels… in snd_pcm_plug_format_plugins()
447 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
455 tmpformat.format = SNDRV_PCM_FORMAT_S16; in snd_pcm_plug_format_plugins()
457 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
466 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
469 tmpformat.rate = dstformat.rate; in snd_pcm_plug_format_plugins()
471 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
473 …pdprintf("rate down resampling: src=%i, dst=%i returns %i\n", srcformat.rate, tmpformat.rate, err); in snd_pcm_plug_format_plugins()
481 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
487 tmpformat.format = dstformat.format; in snd_pcm_plug_format_plugins()
489 tmpformat.format == SNDRV_PCM_FORMAT_MU_LAW) { in snd_pcm_plug_format_plugins()
491 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
495 snd_pcm_format_linear(tmpformat.format)) { in snd_pcm_plug_format_plugins()
497 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
502 pdprintf("format change: src=%i, dst=%i returns %i\n", srcformat.format, tmpformat.format, err); in snd_pcm_plug_format_plugins()
510 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
516 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
517 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
518 …pdprintf("channels extension: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels… in snd_pcm_plug_format_plugins()
526 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
534 &tmpformat, in snd_pcm_plug_format_plugins()