summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2007-09-21 10:40:55 +0200
committerJaroslav Kysela <perex@perex.cz>2007-09-21 10:40:55 +0200
commit4f70a301ac144ecdd11fa71c245d57dcb6e650da (patch)
tree2f3da55446bb89b348512b978d964e9d243bfb66
parent67399e35ff47269c324c251e611531c70c8e71ef (diff)
release 1.0.15rc3v1.0.15rc3
Patch-level: Merged
-rw-r--r--configure.in2
-rw-r--r--src/pcm/pcm_rate.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index fc4c1f8b..c79c64a6 100644
--- a/configure.in
+++ b/configure.in
@@ -9,7 +9,7 @@ dnl add API = c+1:0:a+1
dnl remove API = c+1:0:0
dnl *************************************************
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(alsa-lib, 1.0.15rc2)
+AM_INIT_AUTOMAKE(alsa-lib, 1.0.15rc3)
eval LIBTOOL_VERSION_INFO="2:0:0"
dnl *************************************************
AM_CONDITIONAL(INSTALL_M4, test -n "${ACLOCAL}")
diff --git a/src/pcm/pcm_rate.c b/src/pcm/pcm_rate.c
index 1eefad40..9821cab1 100644
--- a/src/pcm/pcm_rate.c
+++ b/src/pcm/pcm_rate.c
@@ -1076,10 +1076,10 @@ static int snd_pcm_rate_drain(snd_pcm_t *pcm)
snd_pcm_uframes_t size, ofs, saved_avail_min;
snd_pcm_sw_params_t sw_params;
- /* temporarily set avail_min to one period */
+ /* temporarily set avail_min to one */
sw_params = rate->sw_params;
saved_avail_min = sw_params.avail_min;
- sw_params.avail_min = rate->gen.slave->period_size;
+ sw_params.avail_min = 1;
snd_pcm_sw_params(rate->gen.slave, &sw_params);
size = rate->appl_ptr - rate->last_commit_ptr;