mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Small fix for the capture direction..
This commit is contained in:
parent
d33c93096a
commit
76d4466882
1 changed files with 6 additions and 4 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue