pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/dosbox



Module Name:    pkgsrc
Committed By:   maya
Date:           Sat Sep 16 03:27:20 UTC 2017

Modified Files:
        pkgsrc/emulators/dosbox: Makefile distinfo
Added Files:
        pkgsrc/emulators/dosbox/patches: patch-src_dosbox.cpp

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/emulators/dosbox/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/emulators/dosbox/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/dosbox/patches/patch-src_dosbox.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/dosbox/Makefile
diff -u pkgsrc/emulators/dosbox/Makefile:1.43 pkgsrc/emulators/dosbox/Makefile:1.44
--- pkgsrc/emulators/dosbox/Makefile:1.43       Tue Feb  7 23:56:14 2017
+++ pkgsrc/emulators/dosbox/Makefile    Sat Sep 16 03:27:20 2017
@@ -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/}
 

Index: pkgsrc/emulators/dosbox/distinfo
diff -u pkgsrc/emulators/dosbox/distinfo:1.22 pkgsrc/emulators/dosbox/distinfo:1.23
--- pkgsrc/emulators/dosbox/distinfo:1.22       Tue Feb  7 23:56:14 2017
+++ pkgsrc/emulators/dosbox/distinfo    Sat Sep 16 03:27:20 2017
@@ -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 @@ SHA512 (dosbox-0.74.tar.gz) = 4a6ff4c658
 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

Added files:

Index: pkgsrc/emulators/dosbox/patches/patch-src_dosbox.cpp
diff -u /dev/null pkgsrc/emulators/dosbox/patches/patch-src_dosbox.cpp:1.1
--- /dev/null   Sat Sep 16 03:27:20 2017
+++ pkgsrc/emulators/dosbox/patches/patch-src_dosbox.cpp        Sat Sep 16 03:27:20 2017
@@ -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