OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994ab14
)
pcm: Fix a wrong value shown in the error message in rate plugin
author
Laurentiu Nicola
<grayshade@gmail.com>
Thu, 8 Aug 2013 10:29:09 +0000
(12:29 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 8 Aug 2013 10:29:09 +0000
(12:29 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm.c
b/src/pcm/pcm.c
index
ca4d416
..
c54fa06
100644
(file)
--- a/
src/pcm/pcm.c
+++ b/
src/pcm/pcm.c
@@
-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 */