Lines Matching refs:tmpformat

375 	struct snd_pcm_plugin_format tmpformat;  in snd_pcm_plug_format_plugins()  local
412 tmpformat = srcformat; in snd_pcm_plug_format_plugins()
428 tmpformat.format = SNDRV_PCM_FORMAT_S16; in snd_pcm_plug_format_plugins()
430 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
439 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
445 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
446 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
447 …pdprintf("channels reduction: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels… in snd_pcm_plug_format_plugins()
455 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
463 tmpformat.format = SNDRV_PCM_FORMAT_S16; in snd_pcm_plug_format_plugins()
465 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
474 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
477 tmpformat.rate = dstformat.rate; in snd_pcm_plug_format_plugins()
479 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
481 …pdprintf("rate down resampling: src=%i, dst=%i returns %i\n", srcformat.rate, tmpformat.rate, err); in snd_pcm_plug_format_plugins()
489 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
495 tmpformat.format = dstformat.format; in snd_pcm_plug_format_plugins()
497 tmpformat.format == SNDRV_PCM_FORMAT_MU_LAW) { in snd_pcm_plug_format_plugins()
499 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
503 snd_pcm_format_linear(tmpformat.format)) { in snd_pcm_plug_format_plugins()
505 &srcformat, &tmpformat, in snd_pcm_plug_format_plugins()
510 pdprintf("format change: src=%i, dst=%i returns %i\n", srcformat.format, tmpformat.format, err); in snd_pcm_plug_format_plugins()
518 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
524 tmpformat.channels = dstformat.channels; in snd_pcm_plug_format_plugins()
525 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
526 …pdprintf("channels extension: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels… in snd_pcm_plug_format_plugins()
534 srcformat = tmpformat; in snd_pcm_plug_format_plugins()
542 &tmpformat, in snd_pcm_plug_format_plugins()