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:
41499be
)
Fixed right rate find
author
Abramo Bagnara
<abramo@alsa-project.org>
Sun, 16 Jul 2000 11:29:00 +0000
(11:29 +0000)
committer
Abramo Bagnara
<abramo@alsa-project.org>
Sun, 16 Jul 2000 11:29:00 +0000
(11:29 +0000)
src/pcm/pcm_common.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_common.c
b/src/pcm/pcm_common.c
index
3601704
..
b8ed0b0
100644
(file)
--- a/
src/pcm/pcm_common.c
+++ b/
src/pcm/pcm_common.c
@@
-410,7
+410,7
@@
int snd_pcm_plug_slave_rate(unsigned int rate, snd_pcm_params_info_t *slave_info
continue;
if (snd_pcm_rates[k].rate < rate) {
rate1 = snd_pcm_rates[k].rate;
- } else if (snd_pcm_rates[k].rate > rate) {
+ } else if (snd_pcm_rates[k].rate >
=
rate) {
rate2 = snd_pcm_rates[k].rate;
break;
}