pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/dosbox dosbox: set default audio blocksize t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a715e6c57495
branches: trunk
changeset: 368369:a715e6c57495
user: maya <maya%pkgsrc.org@localhost>
date: Sat Sep 16 03:27:20 2017 +0000
description:
dosbox: set default audio blocksize to 8192 (up from 1024)
audio stuttering was very noticeable in some games on netbsd and
the cause wasn't clear. downsides: may increase audio lag.
This is also configurable with ~/.dosbox/dosbox-0.74.conf.
Suggested by nat, thanks!
bump PKGREVISION
diffstat:
emulators/dosbox/Makefile | 4 ++--
emulators/dosbox/distinfo | 3 ++-
emulators/dosbox/patches/patch-src_dosbox.cpp | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (48 lines):
diff -r dad42efc10dc -r a715e6c57495 emulators/dosbox/Makefile
--- a/emulators/dosbox/Makefile Fri Sep 15 23:51:04 2017 +0000
+++ b/emulators/dosbox/Makefile Sat Sep 16 03:27:20 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2017/02/07 23:56:14 joerg Exp $
+# $NetBSD: Makefile,v 1.44 2017/09/16 03:27:20 maya Exp $
DISTNAME= dosbox-0.74
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dosbox/}
diff -r dad42efc10dc -r a715e6c57495 emulators/dosbox/distinfo
--- a/emulators/dosbox/distinfo Fri Sep 15 23:51:04 2017 +0000
+++ b/emulators/dosbox/distinfo Sat Sep 16 03:27:20 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2017/02/07 23:56:14 joerg Exp $
+$NetBSD: distinfo,v 1.23 2017/09/16 03:27:20 maya Exp $
SHA1 (dosbox-0.74.tar.gz) = 2d99f0013350efb29b769ff19ddc8e4d86f4e77e
RMD160 (dosbox-0.74.tar.gz) = 4534d87206de8401cd0de471d8172726f2c6b788
@@ -6,5 +6,6 @@
Size (dosbox-0.74.tar.gz) = 1265711 bytes
SHA1 (patch-include_dos__inc.h) = c6c9e5e29b3861fa477ae6c00e335dc57737f8ff
SHA1 (patch-src_Makefile.in) = 6f811b5a1450ca88cb47d99d0381fb682d8b994d
+SHA1 (patch-src_dosbox.cpp) = f96771b9a478d116a10f868cb29aaea7c909ead5
SHA1 (patch-src_gui_sdl__mapper.cpp) = 030a05b6036f28063a42f4fc601dc7add5a85d6b
SHA1 (patch-src_gui_sdlmain.cpp) = 317cd169e6b75a238bb1a4a72812654d36049227
diff -r dad42efc10dc -r a715e6c57495 emulators/dosbox/patches/patch-src_dosbox.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/dosbox/patches/patch-src_dosbox.cpp Sat Sep 16 03:27:20 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_dosbox.cpp,v 1.1 2017/09/16 03:27:20 maya Exp $
+
+Default to 8192 block size - sounds better
+
+--- src/dosbox.cpp.orig 2010-05-10 17:43:54.000000000 +0000
++++ src/dosbox.cpp
+@@ -454,7 +454,7 @@ void DOSBOX_Init(void) {
+
+ const char *blocksizes[] = {
+ "1024", "2048", "4096", "8192", "512", "256", 0};
+- Pint = secprop->Add_int("blocksize",Property::Changeable::OnlyAtStart,1024);
++ Pint = secprop->Add_int("blocksize",Property::Changeable::OnlyAtStart,8192);
+ Pint->Set_values(blocksizes);
+ Pint->Set_help("Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.");
+
Home |
Main Index |
Thread Index |
Old Index