summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn J. Ellis <jje@gentoo.org>2003-04-12 06:23:12 +0000
committerJohn J. Ellis <jje@gentoo.org>2003-04-12 06:23:12 +0000
commit4a477272c8168100e802193b69684654dcc260dd (patch)
treec6e5e883a481598314fd75c36f75427893a82fcf /media-libs/libao/files
parentFixes 14341 (diff)
downloadhistorical-4a477272c8168100e802193b69684654dcc260dd.tar.gz
historical-4a477272c8168100e802193b69684654dcc260dd.tar.bz2
historical-4a477272c8168100e802193b69684654dcc260dd.zip
Fixes 14341
Diffstat (limited to 'media-libs/libao/files')
-rw-r--r--media-libs/libao/files/digest-libao-0.8.3-r11
-rw-r--r--media-libs/libao/files/libao-0.8.3-r1.patch21
2 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/libao/files/digest-libao-0.8.3-r1 b/media-libs/libao/files/digest-libao-0.8.3-r1
new file mode 100644
index 000000000000..4826f09dcd10
--- /dev/null
+++ b/media-libs/libao/files/digest-libao-0.8.3-r1
@@ -0,0 +1 @@
+MD5 b1422a6ff7f58131921b9f2fabe2295c libao-0.8.3.tar.gz 210690
diff --git a/media-libs/libao/files/libao-0.8.3-r1.patch b/media-libs/libao/files/libao-0.8.3-r1.patch
new file mode 100644
index 000000000000..e94367728a59
--- /dev/null
+++ b/media-libs/libao/files/libao-0.8.3-r1.patch
@@ -0,0 +1,21 @@
+--- /var/tmp/portage/libao-0.8.3-r1/work/libao-0.8.3/src/plugins/alsa09/ao_alsa09.c 2001-12-19 07:39:24.000000000 +0900
++++ ao_alsa09.c 2003-03-23 17:30:40.000000000 +0900
+@@ -192,18 +192,6 @@
+ if (err < 0)
+ goto error;
+
+- cmd = "snd_pcm_hw_params_set_period_size";
+- err = snd_pcm_hw_params_set_period_size(internal->pcm_handle, hwparams,
+- internal->buf_size / internal->sample_size, 0);
+- if (err < 0)
+- goto error;
+-
+- cmd = "snd_pcm_hw_params_set_periods";
+- err = snd_pcm_hw_params_set_periods(internal->pcm_handle, hwparams,
+- internal->periods * format->channels, 0);
+- if (err < 0)
+- goto error;
+-
+ cmd = "snd_pcm_hw_params";
+ err = snd_pcm_hw_params(internal->pcm_handle, hwparams);
+ if (err < 0)