mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-10 04:27:43 -05:00
pcm: Fix a wrong value shown in the error message in rate plugin
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
994ab14b40
commit
d469ebe2ef
1 changed files with 1 additions and 1 deletions
|
|
@ -7932,7 +7932,7 @@ int snd_pcm_set_params(snd_pcm_t *pcm,
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
if (rrate != rate) {
|
if (rrate != rate) {
|
||||||
SNDERR("Rate doesn't match (requested %iHz, get %iHz)", rate, err);
|
SNDERR("Rate doesn't match (requested %iHz, get %iHz)", rate, rrate);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
/* set the buffer time */
|
/* set the buffer time */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue