summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-24 18:18:09 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-24 18:18:09 +0000
commitd0c59738eb48a704e7a8b1b3c73d6e418b77a05b (patch)
tree91d9e218d486754d7c69706fc5696eccc86dba86 /media-libs/alsa-lib/files
parentgz2bz (Manifest recommit) (diff)
downloadgentoo-2-d0c59738eb48a704e7a8b1b3c73d6e418b77a05b.tar.gz
gentoo-2-d0c59738eb48a704e7a8b1b3c73d6e418b77a05b.tar.bz2
gentoo-2-d0c59738eb48a704e7a8b1b3c73d6e418b77a05b.zip
Including patch submitted in bug #45612 to fix alsa+dmix+artsd.
Diffstat (limited to 'media-libs/alsa-lib/files')
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.0.3b-rate-capture.patch16
-rw-r--r--media-libs/alsa-lib/files/digest-alsa-lib-1.0.3b-r2 (renamed from media-libs/alsa-lib/files/digest-alsa-lib-1.0.3b)0
2 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.3b-rate-capture.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.3b-rate-capture.patch
new file mode 100644
index 000000000000..c239fd828641
--- /dev/null
+++ b/media-libs/alsa-lib/files/alsa-lib-1.0.3b-rate-capture.patch
@@ -0,0 +1,16 @@
+Index: pcm_rate.c
+===================================================================
+RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_rate.c,v
+retrieving revision 1.81
+diff -u -r1.81 pcm_rate.c
+--- pcm_rate.c 17 Mar 2004 11:48:15 -0000 1.81
++++ pcm_rate.c 23 Mar 2004 14:36:54 -0000
+@@ -1079,6 +1079,8 @@
+ __partial:
+ xfer = 0;
+ cont = rate->slave->buffer_size - slave_offset;
++ if (cont > rate->slave->period_size)
++ cont = rate->slave->period_size;
+ snd_pcm_areas_copy(rate->sareas, 0,
+ slave_areas, slave_offset,
+ pcm->channels, cont,
diff --git a/media-libs/alsa-lib/files/digest-alsa-lib-1.0.3b b/media-libs/alsa-lib/files/digest-alsa-lib-1.0.3b-r2
index bb6690901875..bb6690901875 100644
--- a/media-libs/alsa-lib/files/digest-alsa-lib-1.0.3b
+++ b/media-libs/alsa-lib/files/digest-alsa-lib-1.0.3b-r2