mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
pcm_plug: fix comparison always true
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
3f589c9369
commit
db7545a077
1 changed files with 1 additions and 1 deletions
|
|
@ -485,7 +485,7 @@ static int snd_pcm_plug_change_format(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_p
|
|||
/* No conversion is needed */
|
||||
if (clt->format == slv->format &&
|
||||
clt->rate == slv->rate &&
|
||||
clt->channels == clt->channels)
|
||||
clt->channels == slv->channels)
|
||||
return 0;
|
||||
|
||||
if (snd_pcm_format_linear(slv->format)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue