Small fix for the capture direction..

This commit is contained in:
Jaroslav Kysela 1999-12-11 21:20:03 +00:00
parent d33c93096a
commit 76d4466882

View file

@ -430,7 +430,9 @@ int snd_pcm_plugin_format(PLUGIN_BASE *pb,
} }
newparams->format.interleave = dstparams->format.interleave; newparams->format.interleave = dstparams->format.interleave;
} }
if (params->channel == SND_PCM_CHANNEL_CAPTURE)
*newparams = *hwparams;
return 0; return 0;
} }