summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2004-07-26 20:42:27 +0000
committerdillo <dillo@pkgsrc.org>2004-07-26 20:42:27 +0000
commita0e044de84577a846905ab607ceea01e5ebf5f26 (patch)
tree6eb821c524429cb9e7e976d9ea603a35c88a300f /devel
parenta0513df09e28aa1634dbe8426f8e396094527c02 (diff)
downloadpkgsrc-a0e044de84577a846905ab607ceea01e5ebf5f26.tar.gz
Reduce audio delay in the *BSD audio driver (by configuring audio
device with shorter block size and lower water marks). PKGREVISION++
Diffstat (limited to 'devel')
-rw-r--r--devel/SDL/Makefile4
-rw-r--r--devel/SDL/distinfo4
-rw-r--r--devel/SDL/patches/patch-al16
3 files changed, 17 insertions, 7 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index 735bd0bd965..adce45c9da9 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2004/06/22 09:10:12 dillo Exp $
+# $NetBSD: Makefile,v 1.57 2004/07/26 20:42:27 dillo Exp $
#
PKG_INSTALLATION_TYPES= overwrite pkgviews
-PKGREVISION=2
+PKGREVISION=3
.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/SDL/distinfo b/devel/SDL/distinfo
index 169bf7a367a..6026e46fbfc 100644
--- a/devel/SDL/distinfo
+++ b/devel/SDL/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2004/07/19 10:48:46 wiz Exp $
+$NetBSD: distinfo,v 1.33 2004/07/26 20:42:28 dillo Exp $
SHA1 (SDL-1.2.7.tar.gz) = 1a840c50668f230df9e9163ef1a282d9f3355383
Size (SDL-1.2.7.tar.gz) = 2470936 bytes
@@ -6,7 +6,7 @@ SHA1 (patch-aa) = a78e6bd1e5c858d51f05d0e121300977eb6bff63
SHA1 (patch-ab) = 7effcc7f7f1856372692c147521888843810fed5
SHA1 (patch-af) = f5e824addf308f9c467de02e3b262afbc0ef77c0
SHA1 (patch-aj) = bc132adf7f2f81ded884e0bfd29f7f4cedc98f4b
-SHA1 (patch-al) = 852877c85dd43782dfcf855d43ed6250449aa9fd
+SHA1 (patch-al) = d8b4ee9d33c4b34db87b098f4945018ae995ae99
SHA1 (patch-am) = dafc020b5ccae6970a1212e6ad2c5fd8531bf72e
SHA1 (patch-ar) = 61e759bb3eb05890160573dfe63431792f1823bd
SHA1 (patch-as) = 98813c71b10e209df90b5024cf8e6287113563ce
diff --git a/devel/SDL/patches/patch-al b/devel/SDL/patches/patch-al
index d3cfd7a42ba..ecaa24381e4 100644
--- a/devel/SDL/patches/patch-al
+++ b/devel/SDL/patches/patch-al
@@ -1,7 +1,7 @@
-$NetBSD: patch-al,v 1.5 2003/06/04 17:53:13 abs Exp $
+$NetBSD: patch-al,v 1.6 2004/07/26 20:42:28 dillo Exp $
---- src/audio/openbsd/SDL_openbsdaudio.c.orig Wed Mar 6 11:23:02 2002
-+++ src/audio/openbsd/SDL_openbsdaudio.c Wed Jun 4 17:09:16 2003
+--- src/audio/openbsd/SDL_openbsdaudio.c.orig 2004-02-18 18:21:59.000000000 +0100
++++ src/audio/openbsd/SDL_openbsdaudio.c
@@ -37,6 +37,7 @@
#include <sys/stat.h>
#include <sys/types.h>
@@ -108,3 +108,13 @@ $NetBSD: patch-al,v 1.5 2003/06/04 17:53:13 abs Exp $
",
info.monitor_gain,
info.blocksize,
+@@ -388,6 +399,9 @@
+ spec->channels = 1;
+ AUDIO_INITINFO(&info);
+ info.play.sample_rate = spec->freq;
++ info.blocksize = spec->size;
++ info.hiwat = 5;
++ info.lowat = 3;
+ (void)ioctl(audio_fd, AUDIO_SETINFO, &info);
+ (void)ioctl(audio_fd, AUDIO_GETINFO, &info);
+ spec->freq = info.play.sample_rate;