mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04: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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
/* set the buffer time */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue